Comments (6)
On 06-06-12 16:39, mat wrote:
- Check if package/version already exists on repository (pypi, plone.org, etc.)
- Check if tag already exists in code repo (git/svn)
The tag-checking already happens. It actually was one of the first
features to go in :-)
And I think the first one isn't really needed. If the first one applies,
the second one will already have warned you, right?
Reinout
Reinout van Rees [email protected]
http://reinout.vanrees.org/
"Military engineers build missiles. Civil engineers build targets."
from zest.releaser.
We already check if the package is on PyPI. If it is there, we switch the default answer for uploading the package to PyPi to False. For plone.org there is currently no official api that we can use to check this.
If this specific version is already on PyPI then you or another package maintainer has apparently done something weird already and we get into corner cases where we happily allow you to shoot yourself in the foot. ;-)
from zest.releaser.
Thanks for your responses.
If this specific version is already on PyPI then you or another package maintainer has apparently done something weird already...
This is exactly what happens from time to time. Although github gives you nice possibilities to fork code, make pull requests, etc... your are not aware of (for example) someone makes a new release out of a branch. Usually you should now the guy(s) who did this. But I just thought it would bi nice if zest.releaser could print out something like "ooops you're overwriting an existing release on pypi". Of course this should no happen and yes your right, there's blood everywhere, but not mine :-)
from zest.releaser.
On 07-06-12 17:25, mat wrote:
If this specific version is already on PyPI then you or another package maintainer has apparently done something weird already...
This is exactly what happens from time to time. Although github gives you nice possibilities to fork code, make pull requests, etc... your are not aware of (for example) someone makes a new release out of a branch. Usually you should now the guy(s) who did this. But I just thought it would bi nice if zest.releaser could print out something like "ooops you're overwriting an existing release on pypi". Of course this should no happen and yes your right, there's blood everywhere, but not mine:-)
But still... If someone else already made a release, the change should
also be in your checkout: a new changelog header, a new version.
The only scenario I can think off is if you're all working in different
branches and releasing from that independently. But that means different
releases are based on different codebases....
You'll really have to have one main branch and then zest.releaser will
warn you properly.
Reinout
Reinout van Rees [email protected]
http://reinout.vanrees.org/
"Military engineers build missiles. Civil engineers build targets."
from zest.releaser.
But that means different releases are based on different codebases....
Unfortunately that's what could happen accidentally. But you're right this scenario must be handled by the developer.
So I close this issue, thanks again!
from zest.releaser.
On 07-06-12 19:20, mat wrote:
But that means different releases are based on different codebases....
Unfortunately that's what could happen accidentally. But you're right this scenario must be handled by the developer.
So I close this issue, thanks again!
Ok. Good luck educating them :-)
Reinout
Reinout van Rees [email protected]
http://reinout.vanrees.org/
"Military engineers build missiles. Civil engineers build targets."
from zest.releaser.
Related Issues (20)
- Possibility to add prefix to commit messages HOT 6
- ValueError: binary mode doesn't take an encoding argument HOT 9
- fullrelease: error: no such option: --no-input HOT 8
- sdist is missing tox.ini HOT 1
- tests fails with non-GNU ls HOT 4
- testing: the following arguments are required: message HOT 1
- testing: bumpversion and postrelease tests fails HOT 3
- Always create wheels, when possible HOT 2
- Warn/ask to verify for deprecation notices when making a major release HOT 4
- get_last_tag can fail with recent setuptools HOT 1
- Use build to generate wheels and sdists HOT 7
- Read zest.releaser settings from pyproject.toml HOT 3
- Issue during our dependency-check analysis because of tests/pyproject.toml file HOT 1
- Upload to PyPI fails HOT 6
- readthedocs documentation isn't being build anymore HOT 2
- Issues when trying 'build' HOT 7
- Wheel does not contain the required METADATA file HOT 2
- `build` has changed the ProjectBuilder API in 1.0.0 HOT 2
- index-servers option in setup.cfg not working HOT 5
- implement --version HOT 1
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 zest.releaser.