How do I promote a conda package from one channel to another?

0 views
Skip to first unread message

Matt Savoie

unread,
Sep 1, 2015, 2:03:36 PM9/1/15
to conda - Public
I'm trying to set up our Continuous Integration and we were planning on placing release candidate packages in a 'dev' channel. 

When we were ready to release the package, the plan was to copy it to the main channel. 

 I feel like I'm being dense, but I don't see an easy way to do this. Any help would be greatly appreciated.

The command I'm currently trying is: `anaconda -t $TOKEN copy --from-channel dev --to-channel main nsidc/testing/0.0.1` and I'm getting a conflict. `Using binstar api site https://api.anaconda.org [Conflict] The file 0.0.1/linux-64/testing-0.0.1-py27_0.tar.bz2 already exists, can not copy`

I would be fine if I could assign and remove tags from a package, or download the dev package and re-upload to the main channel. I'm just not seeing an obvious way to do this.  A pointer to documentation would be great.

 Anyone else doing this who could help? 

 Thanks Matt

Matt Savoie

unread,
Sep 1, 2015, 2:17:53 PM9/1/15
to conda - Public
I guess I'm trying to do what's described here: http://docs.binstar.org/channels.html  

"You can upload a file to a dev or testing channel, and when you are satisfied that it is a stable release, you can push it to the main user channel for all users to install."

I can't find the corresponding documentation on docs.anaconda.org


Stephen Kearns

unread,
Sep 3, 2015, 12:22:29 PM9/3/15
to conda - Public
Hi Matt,
this is Steve from Continuum. Just a quick acknowledgement of your issue. I'm looking into it. 

Sean Ross-Ross

unread,
Sep 3, 2015, 12:22:42 PM9/3/15
to conda - Public
Matt, we are working on updating the command line to handle this use case. 

For now, you must do this from the website. https://anaconda.org/dashboard/channels/dev/files

Matt Savoie

unread,
Sep 3, 2015, 12:31:16 PM9/3/15
to conda - Public
Thanks guys.  I've got a workaround in place for the time being, but please post back here when you have this updated so we can modify our workflows.

Matt
Reply all
Reply to author
Forward
0 new messages