Comments (8)
/cc @bnoordhuis @indutny @piscisaureus
from libuv-release-tool.
I made the 1.0.0-rc1 release manually since the tool wsn't ready, but at least I could capture what we need to address:
- Major releases are not supported
As far as I can tell, major versions are supported. However the major version isn't bumped by the tool, but I think it's not that painful to do that (once) by hand.
Also note that the tool currently doesn't interpret x.y.z-rc versions, but we can change that.
- The tool should check if the version is set to release
It's supposed to do that, doesn't it?
and verify if there is already a tag with that version
It does a couple of checks related to the tags that already exists, also whether there are no 'holes' in the list of tags. Did you find an issue with this?
- Never bump the version, it now needs to be done manually, since minor or patch might change, depending on what actually changed
Whatever you want, of course, because you are the one that makes releases. But wouldn't it be easier if there were just a command line option (e.g. use --minor
to bump the minor version instead of the patch)?
- When uploading the git archive, we do it to a path like vX.Y.Z/xX.Y.Z.tar.gz, which gives an error becuas the directory is not there, maybe just put all tarballs in a single directory?
I don't really mind. We could also update to code to create the directory.
- Swith to execSync now that it exists?
That will be in node 0.12 but we're still waiting for it to be released.
Unless we're going to make major changes to the release tool I don't think it's necessary.
- Since we are here: sign tags and tarballs?
Sure - but how is this supposed to work? I have never signed a tarball. Is there a tool to sign tarballs? And where do we get a certificate?
My time / js knowledge are not plentiful, but can I offer moral support!
from libuv-release-tool.
Some code pointers:
- Tag checks:
libuv-release-tool/lib/tags.js
Lines 30 to 76 in 8f20ce9
- Release check:
Lines 229 to 231 in 8f20ce9
- Upload (and maybe in the future create the directory):
Lines 443 to 446 in 8f20ce9
- Parse the version:
libuv-release-tool/lib/version.js
Line 87 in 8f20ce9
from libuv-release-tool.
Thanks for the pointers Bert, I'll try to write some broken JavaScript.
About the version, there seems to be a undocumented optional command line option to specify the version: "--version", maybe we can make it required now.
from libuv-release-tool.
I think we just figured that the tool just works fine :)
from libuv-release-tool.
I also noticed that there is a step ("createWebsiteDirectory") that is supposed to do as the name suggests.
What are the errors you get when you try to release?
Lines 431 to 436 in 8f20ce9
from libuv-release-tool.
Oh! It failed to parse the version so I couldn't get further.
Also, add a "--dry-run" option to my wishlist :-)
from libuv-release-tool.
This landed already, last couple of releases were already made with the tool.
from libuv-release-tool.
Related Issues (5)
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 libuv-release-tool.