Giter VIP home page Giter VIP logo

Comments (9)

KevinTyrrell avatar KevinTyrrell commented on August 29, 2024

I'm so sorry dude, I never got notified of this! I don't understand what you mean though? Why have two repositories?

from fishingbot.

Schaka avatar Schaka commented on August 29, 2024

You don't have a second repository. You have a project (source only) that can be compiled by any user who knows how (there can be a readme).

Then the binary is distributed through tagging your latest master commit and creating a "release" on GitHub, where you can upload the compiled binary.

from fishingbot.

KevinTyrrell avatar KevinTyrrell commented on August 29, 2024

Man I've read this so many times and I still can't understand it. Your first two sentences is what I'm already doing, no? I have a runnable jar file for users who want an exe-like experience, then the source code provided incase any others want to play around and compile their own version of my work.

I don't understand the 'tagging' as release stuff. And the compiled binary? What use is a compiled file for? You can't view the source code with it. All you can do is run the program with it if you knew how those files work. Can you explain in simpler terms? Thank you.

from fishingbot.

Schaka avatar Schaka commented on August 29, 2024

Okay, so how this is basically done:

  • your repository only contains source code, but not everyone knows how to compile it
  • everyone who wants to submit changes or just keep developing in private can fork it/check it out
  • for the average user, who just wants to download and use a program, you compile the jar and upload it to your release (on top of your repository, there's a tab to create releases - through git tags)

Take a look here, it should give you an idea:
https://github.com/Schaka/ArenaLive-TBC/releases

from fishingbot.

KevinTyrrell avatar KevinTyrrell commented on August 29, 2024

Sorry again for the late response. I totally understand everything you said now.

It's so easy and I had no idea. Thank you for helping me. Are you sure user's are able to understand where to go to find releases? Should you just link the user to the release page or to your main repository?

GitHub Creating Releases

from fishingbot.

Schaka avatar Schaka commented on August 29, 2024

You should probably link to the release page. That way your users never get confused by the source.
In your readme.md, you can also link to the release page, should anyone ever find their way to the main repository.

from fishingbot.

KevinTyrrell avatar KevinTyrrell commented on August 29, 2024

Gotcha. Should I add the readme.md to the release or should I rely on the user to come back to the repository if they are unsure of how to use the program?

from fishingbot.

Schaka avatar Schaka commented on August 29, 2024

Readme.md should be added to the repository. For the release, a readme.txt linking the user back to the repository (for either the Wiki part of GitHub or the readme.md formatted), should be fine.

from fishingbot.

KevinTyrrell avatar KevinTyrrell commented on August 29, 2024

Ah okay. Thanks man. I really appreciate it.

from fishingbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.