-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
+github.com/mamba-org/mamba #388
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d0f0b4b
add mamba-org
ddobrinskiy 3a077e5
add strip
ddobrinskiy 44d8b02
Give up: hardcoded versions
ddobrinskiy b19975f
try another version format
ddobrinskiy d97ca11
Ugly hack with versions
ddobrinskiy a975ab2
mamba install convert to one-liner
ddobrinskiy a0f9567
playing around with CI
ddobrinskiy 2ce835b
Merge branch 'main' into mamba
ddobrinskiy c1704b7
link mamba into bin
ddobrinskiy 2db2826
fix mamba cli prefix
ddobrinskiy c2f405f
echo pwd
ddobrinskiy 75718c2
refactor build args
ddobrinskiy 468c6bf
use version.raw
ddobrinskiy 71030ca
version as string?
ddobrinskiy d861798
ugly versions hack AGAIN
ddobrinskiy 889b015
fix prefix
ddobrinskiy df2137c
omfg please work
ddobrinskiy 9f72ce7
omfg please work
ddobrinskiy 91210dd
should work...
ddobrinskiy b99edf1
testing without symlinks
ddobrinskiy 121b936
what's up with bin files in testing?
ddobrinskiy a945f0b
better print for test debug
ddobrinskiy cb3c0d3
testing CI
ddobrinskiy 2917dce
try to symlink opt in test env
ddobrinskiy d8c0295
prefix to opt link
ddobrinskiy 4027cb5
omg please please work
ddobrinskiy 31775db
fix shebang?
ddobrinskiy 9aaac14
cleaner build script
ddobrinskiy 21a508b
cleanup comments
ddobrinskiy 17b255a
add conda to provides
ddobrinskiy 2dbe077
cleanup comments
ddobrinskiy aaa23f8
fix grep tests
ddobrinskiy 63b68ec
simplify tests
ddobrinskiy 0fb3fe6
Merge branch 'main' into mamba
ddobrinskiy 39e29b4
add shell init instructions
ddobrinskiy 35ad9d7
simplify init instructions
ddobrinskiy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# You may notice that this bottle named "mamba-org" refers to conda-forge github repo | ||
# This is intentional and not an error | ||
|
||
# cask: https://github.com/Homebrew/homebrew-cask/blob/c6e8fd99bdfd5ec217ff3b53505f42214f5cba58/Casks/mambaforge.rb | ||
|
||
distributable: | ||
url: https://github.com/conda-forge/miniforge/archive/refs/tags/22.11.1-4.tar.gz #FIXME UGLY HACK, NEED TO MOVE '-4' TO versions.anytext | ||
strip-components: 1 | ||
|
||
versions: | ||
- "22.11.1.4" | ||
|
||
build: | ||
dependencies: | ||
aria2.github.io: '1.36' #FIXME aria2 has heavier dependencies than curl, | ||
# ^ when this package is more stable and we no longer need fast local iteration, | ||
# ^ look into swapping it for curl | ||
script: | | ||
#FIXME mamba provides sha256 signatures, should we check against them before building? | ||
# ^ https://github.com/conda-forge/miniforge/releases | ||
|
||
# download mamba installation script | ||
aria2c -c -o mamba.sh "https://github.com/conda-forge/miniforge/releases/download/22.11.1-4/Mambaforge-22.11.1-4-$PLATFORM.sh" | ||
|
||
# install mamba | ||
chmod +x mamba.sh | ||
./mamba.sh $ARGS | ||
|
||
fix-shebangs.ts {{prefix}}/bin/* | ||
|
||
#FIXME: add caveats | ||
# Please run the following to setup your shell: | ||
# mamba init "$(basename "${SHELL}")" # updates your .zshrc or .bashrc to make mamba & conda usable | ||
|
||
env: | ||
# env-dependent vars | ||
darwin/aarch64: {PLATFORM: MacOSX-arm64} | ||
darwin/x86-64: {PLATFORM: MacOSX-x86_64} | ||
linux/aarch64: {PLATFORM: Linux-aarch64} | ||
linux/x86-64: {PLATFORM: Linux-x86_64} | ||
# mamba install args | ||
ARGS: | ||
- -b # skip interactive - accept all licence agreements | ||
- -s # skip running pre/post-link/install scripts | ||
- -u # update if already installed | ||
- -p {{prefix}} # prefix - where to install | ||
|
||
test: | | ||
mamba --version | ||
conda --version | ||
|
||
provides: | ||
- condabin/conda | ||
- bin/mamba |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah it's on my “TODO” to figure out how we can communicate this sort of thing.