-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Uploading to a custom channel #593
Comments
+1 on this, it would be nice to be able to provide a curated subset at times. |
That is a good question! I was maintaining the IOOS channel and conda-forge packages for a while, but we (IOOS) decided to just eliminate the IOOS channel in favor of conda-forge. However, I still see a lot of value in doing that. There are a few options:
I do (1) here and right now that is the best option IMO b/c it gives me control over the build, and simplify the recipe maintenance. One canonical recipe and two customized builds. I can see value in (2) and (3), but I would not use them as I (my employers actually) do want control over the build in other projects. |
For us, I think 2 or 3 would be acceptable (we would trust the conda-forge builds and don't want to have to duplicate the build infrastructure). I think it would be really valuable to have option 3, i.e. have something built in to conda-forge to allow this. |
Regarding (2), that sounded like a great idea and something that I wanted for my day job. So here's my first pass at such a script. I'll start using it at work over the next week or so and probably find some bugs or corner cases, but feel free to do with it what you will with no strings attached. @ocefpaf any interest in putting this script in one of the conda-forge repos? Usage is basically this: Mirror the packages I'm working on adding: BINSTAR_TOKEN=`cat token` conda-execute mirror.py --to-owner lightsource2 --from-owner conda-forge scikit-beam lmfit xraylib Or mirror all of conda forge (not that this is necessarily a good idea...) BINSTAR_TOKEN=`cat token` conda-execute mirror.py --to-owner lightsource2 --from-owner conda-forge .tar.bz2 |
@ericdill Nice!
I believe that could live in https://github.com/conda-forge/conda-forge.github.io/tree/master/scripts, but I will pass that question to @pelson 😉 |
Hoping to open a PR on conda-build-all in the next day or two that will allow channel-to-channel copying... |
Could you elaborate a little on what you mean by channel-to-channel copying? |
What (I thought) was not working yet was moving a package from an |
Ah I see! That seems like a useful thing to be able to do. |
Adding this to the hackpad. Partially as I haven't been able to stay on top of the progress here, but would like to get a sense of how this is going and what the best way forward is. In particular, it seems like there are a few strategies in various stages to do 2 and it would be good if we could agree on a single strategy and push that forward. I can't promise how much will be talked about on this topic in the next meeting just because of how full it is and we have quite a few guests. Though we should certainly get to it in the following meeting. It would be great also if the future stakeholders can come and share a few thoughts about what would be a good way to do this. |
@jakirkham -- I'll try to make it to the next dev meeting but have family coming that day so might miss it. A couple thoughts:
|
@mwcraig IIUC the difference between the proposed syntax above and what already exists with
Is that right? |
Just for info, I've got a script that does the channel-to-channel syncing and copies all available builds for a given package (without the need to specify the version): https://github.com/glue-viz/conda-sync |
Funny, me too: https://github.com/astropy/conda-build-tools/blob/master/extruder/copy_packages.py |
A good tool along these lines in |
Given the general sentiment is to sync between channels and there has been a fair amount of work done in that direction, would suggest that we close this issue. |
Is there a way to set up a feedstock to upload to a custom channel in addition to uploading to the conda-forge channel?
The text was updated successfully, but these errors were encountered: