KevinTyrrell / FishingBot

World of Warcraft automatic fishing program. Fishes by using the mouse and searching pixel colors around the cursor to detect 'splashes' in-game.
34 stars 22 forks source link

Don't put the jar into your repo #1

Closed Schaka closed 7 years ago

Schaka commented 8 years ago

You should only keep the source in your respository and add the compiled jar to a tagged release here on GitHub.

KevinTyrrell commented 7 years ago

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

Schaka commented 7 years ago

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.

KevinTyrrell commented 7 years ago

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.

Schaka commented 7 years ago

Okay, so how this is basically done:

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

KevinTyrrell commented 7 years ago

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

Schaka commented 7 years ago

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.

KevinTyrrell commented 7 years ago

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?

Schaka commented 7 years ago

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.

KevinTyrrell commented 7 years ago

Ah okay. Thanks man. I really appreciate it.