making_bioconda_recipes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| making_bioconda_recipes [2024/10/08 11:07] – [Source code is hosted on GitHub/GitLab? Generate a stable release (tar.gz)!] 134.190.221.192 | making_bioconda_recipes [2024/10/08 11:21] (current) – 134.190.221.192 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | By Your Favourite Fake Biologist, Jason Shao (Last Edited: | + | By Your Favourite Fake Biologist, Jason Shao (Last Edited: |
| In my never-ending plight, I only found out about [[https:// | In my never-ending plight, I only found out about [[https:// | ||
| Since the linked guide does a better job at explaining the basics than I could ever do, I will therefore only share **some useful hints and pitfalls to avoid**. | Since the linked guide does a better job at explaining the basics than I could ever do, I will therefore only share **some useful hints and pitfalls to avoid**. | ||
| + | |||
| + | If you are interested in seeing a loose example, [[https:// | ||
| I wish you the best of luck in your quest! | I wish you the best of luck in your quest! | ||
| Line 16: | Line 18: | ||
| ====Source code is hosted on GitHub/ | ====Source code is hosted on GitHub/ | ||
| - | With git, the HEAD of the main branch is updated every time you push a commit to it. Bioconda hates this, and for good reasons too -- it is very difficult to check for file integrity! Therefore, I strongly recommend generating a stable release instead, providing bioconda a tarball(tar.gz) of your source code and a hash with SHA256. Both platforms offer intuitive workflow for generating a stable release, but the latter step is a bit more tricky. Follow these commands appropriate for your operating system: | + | With git, the HEAD of the main branch is updated every time you push a commit to it. Bioconda hates this, and for good reasons too -- it is very difficult to check for file integrity! Therefore, I strongly recommend generating a stable release instead, providing bioconda a tarball (tar.gz) of your source code and a hash with SHA256 |
| **Linux** | **Linux** | ||
| Line 31: | Line 33: | ||
| ====My program is for Linux only? Think again!==== | ====My program is for Linux only? Think again!==== | ||
| Bioconda and their Apple fanboys insisted that every bioconda recipe must be available for both Linux and MacOS, so don't be blindsided by this, fellow Linux enjoyer! | Bioconda and their Apple fanboys insisted that every bioconda recipe must be available for both Linux and MacOS, so don't be blindsided by this, fellow Linux enjoyer! | ||
| - | Making your program more compatible entails adding binary executables and alternative build scripts | + | Making your program more compatible entails adding |
| < | < | ||
| - | if [[ $(uname) == " | + | source: |
| - | | + | - url: < |
| - | elif [[ $(uname) == " | + | |
| - | | + | - url: <MacOS executable> |
| - | else | + | |
| - | | + | - url: <Linux executable> |
| - | if | + | |
| </ | </ | ||
| - | And before you ask, yes it is really called Darwin -- the Darwin we all know and **love**, thanks to Steve Jobs' sensationalism in the late 90s: " | ||
| ====After an eternity, my checks are all passing...==== | ====After an eternity, my checks are all passing...==== | ||
| Line 49: | Line 50: | ||
| @BiocondaBot please add label | @BiocondaBot please add label | ||
| </ | </ | ||
| + | Once assigned, the reviewer may go through several rounds of suggested revisions. Feel free to follow-up on suggested changes that you don't fully understand! | ||
| ====Wow, it's really now merged!==== | ====Wow, it's really now merged!==== | ||
| Now you'll have to maintain it, nyeheheheheh! {{https:// | Now you'll have to maintain it, nyeheheheheh! {{https:// | ||
making_bioconda_recipes.1728396431.txt.gz · Last modified: by 134.190.221.192
