Comments (14)
I completely see where you are coming from.
I'm thinking there is no reason, if the --no-inspect-conda-bld-directory flag isn't set, not to look in conda-build, if it's there, don't rebuild, but do upload.
The problem is that you are using a build tool to do uploads IMO. I wouldn't want to upload anything that hadn't just been built with conda-build-all. Perhaps we can use the same machinery and talk about a conda-upload-all
?
from conda-build-all.
@mwcraig may want to have a heads up about this thread also. (re conda-forge/staged-recipes#593 (comment))
from conda-build-all.
So, the other option that came up and was discussed was @ericdill's script to do this.
from conda-build-all.
I agree with @ChrisBarker-NOAA that conda-build-all
Ought to upload in this case; in principle it is no different than copying a build from one owner's channel to another (and the one or two line fix goes in the same branch in artefact_destination
as the cross-owner copying. Noticed this last week and haven't gotten around to a pull request.
That doesn't remove the need for @ericdill's script, but that fulfills a different purpose, I think.
I understand conda-build-all to be the tool that says "figure out the full matrix of builds needed, then look in all of these places (inspect channels, local builds directory) for existing builds, otherwise actually do the build, and in any event upload built distribution to this (potentially other) channel."
from conda-build-all.
and in any event upload built distribution to this (potentially other) channel
That is the detail, right 😄. I can see the case for both behaviours.
from conda-build-all.
On Thu, Jun 30, 2016 at 8:08 AM, Phil Elson [email protected]
wrote:
and in any event upload built distribution to this (potentially other)
channelThat is the detail, right 😄. I can see the case for both behaviours.
I imagine we all see the case for both behaviours. In some sense, yes,
build-all and upload-all are different things, but:
-
conda-build-all already does both
-
it would be kin dof annoying to have to do the two steps separately --
that's why is was designed the way it is in the first place.
I suggest another flag:
--upload-packages-in-conda-bld-directory
and we're done, yes?
implementation is a different issue, of course :-)
and how it interacts with --no-inspect-conda-bld-directory is a bit sketchy
-- I suggest:
if not inspecting conda-bld, then it wouldn't upload from conda-bld
if inspecting conda-build, then it would upload them if the
--upload-packages-in-conda-bld-directory flag was set.
-CHB
from conda-build-all.
Along the lines of what @ChrisBarker-NOAA just said, it does look like the ability to copy is built in to conda-build-all
already and was designed for that possibility. Agreed that it then makes less sense as a plugin for conda build
.
What about adding a flag --force
or --force-build
or --always-build
that compels the build?
from conda-build-all.
I wouldn't be against a --skip-existing
flag, which doesn't build if the package already exists locally.
from conda-build-all.
Sounds good.
If I put in the boilerplate infrastructure (arg parsing, etc), can one of you find the time to do the actual functionality? Or point me to where in the code to do it -- might be4 more efficient than me figuring out how to navigate the code.
from conda-build-all.
I'm also happy to implement at scipy....
from conda-build-all.
On Thu, Jul 7, 2016 at 10:05 AM, Matt Craig [email protected]
wrote:
I'm also happy to implement at scipy....
Good idea -- I'll be there. Phil, will you be there too?
-CHB
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
from conda-build-all.
I hope Phil will be there, he is talking on Friday :)
from conda-build-all.
BoF on Weds, sprint Saturday.
If either of you are sprinting and would be prepared to mentor/pair up with novices, there is a trello board where you could add this: https://trello.com/b/KURmGkly/conda-forge-scipy-sprint
from conda-build-all.
Will be at both, planning to spend my sprint time on conda/conda-forge. Couldn't figure out how to add anything to the trello board (am happy to mentor/pair).
from conda-build-all.
Related Issues (20)
- Update conda-build to 2.0.1? HOT 3
- Support CONDA_LUA in matrix HOT 3
- Exclude conda-build version 2.0.9 HOT 2
- Bug with conda-build 2.0.11 and above. HOT 2
- Handling R/CONDA_R correctly HOT 1
- Problem with numpy/openblas in staged-recipes HOT 4
- AttributeError: 'Dist' object has no attribute 'fn' from rerender HOT 22
- Selector resolution problem / Python 2,3 compatibility issue? HOT 2
- KeyError: 'python-1.0.1-0.tar.bz2' from rerender HOT 11
- Packages missing in current linux-64 channels HOT 2
- Adding option of excepting failing builds due to missing dependencies.
- Exception raised with anaconda-client 1.6.3
- feaure to : build-all, convert all, upload all? HOT 1
- Migrate history from conda-forge HOT 2
- Fails with conda-build 3.0.3 HOT 10
- New release HOT 2
- conda-build-all not compatible with conda-4.3.23 HOT 9
- DirectoryDestination.make_available Passes List rather than String HOT 8
- Compatibility with conda-build=3 HOT 1
- Unsupported conda version: 4.5.5 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-build-all.