-
Notifications
You must be signed in to change notification settings - Fork 1
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
Include Meteor publishing in the default task? #1
Comments
@dandv I'm not sure if it would be a problem - I might be missing something? eg. |
What I'm saying is that if we include But if they do run the default task all the time, we don't want many _XXX versions of the package on Atmosphere. We only want the final release, the one they'll presumably push to GitHub and tag. |
_xxx releases are "subpatch" versions in order to keep track of the library version? so if its underscore 1.7.0 and a wraper package had some error its ok to add 1.7.0_1 (its the reason for it as I'm aware) |
I'm not sure the default task is the right one where to place His default task boils down to a simple I think it very depends on a developer's habit how to organize his task and we cannot propose to publish as a default action... |
Maybe this gruntfile should have tasks like this grunt meteor check-meteor I think this should be released as a grunt plugin. Then we can just update the respective repos by adding |
+1 for plugin. I run grunt/gulp all the time in development. On Sun, Nov 30, 2014, 9:00 AM Simon Fridlund [email protected]
|
A problem with "scripts": {
"preinstall": "# Make sure Meteor is installed, per https://meteor.com/install.",
"install": "# The curl'ed script is safe; takes 2 minutes to read source & check.",
"postinstall": "type meteor >/dev/null 2>&1 || { curl https://install.meteor.com/ | sh; }"
} |
what about extending the list of grunt tasks to be executed to release? This way when the maintainer do ...this obviously assumes there's a specific task used for the release ;-) EDIT: ok, this is a silly comment, feel free to remove it ;-) |
Whatever you do make sure it doesn't install stuff on the person's computer On Sun Nov 30 2014 at 2:01:56 PM Luca Mussi [email protected]
|
This should be a grunt plugin like this one: https://github.com/PEM--/grunt-phonegapsplash Most grunt users are accustomed to plugins. What bothers me is:
The same goes for gulp users (here's an example of a gulp project: https://github.com/PEM--/hellofamousgulped, still actively used). I'm not sure how to proceed for the moment. Modifying the main grunt / gulp file of the package maintainer has to be as lightweight as possible. It will make the things clearer. I'll have to think through it and come back on you with a clean proposal. |
Creating this as a plugin will have the advantage to let the devs decide if they want to integrate the meteor tasks into their current tasks or if they wanna load them and use them manually to publish releases. @PEM-- sure the plugins are opt-in, but we'll just opt it in for them when we submit PR's for their projects. Depending on the discussion with the dev, either we'll just grunt.loadNpmTasks and be done with it or we'll loadNpmTasks and add the meteor tasks to their ...also the |
Once a 3rd party library is tested to work with Meteor, it's unlikely to break in the future, unless Meteor-specific work is done on it. That type of work, as well as the initial integration, will be tested by a Meteor dev. The original library author most of the time will not want to go through the Meteor testing process, so I think we should keep the Also, installing Meteor via package.json will be unnecessary for the original author in most situations; as for Meteor devs, they already have it. Having Meteor install only when some explicit |
I agree it will be a security weakspot... in the sense that package maintainers might see this as even worse than having a bash/curl script to execute on their pc... |
also, the script can be executed automatically on new releases without having to check into `package.json. |
Should the meteor publishing be included in the
default
task? If so, the wrapped package version number needs to be increased whenever the maintainer runs the task, or else Atmosphere will complain that the package version already exists.Do people run Grunt default tasks a lot, so we'd end up with package v1.2.3_78?
The text was updated successfully, but these errors were encountered: