Comments (10)
Can you get a screen dump of this, from what I'm seeing it is bumping the version number if it was already deployed to an unused one and only doing it once if it has not been deployed (or if it has been destroyed).
from jitsu.
Reproduced.
https://gist.github.com/b13811b13a019abf3e89
from jitsu.
So the issue is that it is being written twice, but it is writing 2 different package.json files.
- Before asking the server if this is a deployable snapshot.
- After finding it is not and bumping the version number.
The problem with not writing twice is that if we don't write through on the first one and there is a connection error you will be prompted to save after an error (odd UX). If we don't prompt on the second we might end up w/ some UX issues from people saying it is not writing what it prompted it would. We could make version bumping not prompt the user and instead just write?
Also, adding a message about the version number being bumped a bit more explicitly.
from jitsu.
This is an order-of-operations problem in the jitsu deploy
command: https://github.com/nodejitsu/jitsu/blob/master/lib/jitsu/commands/apps.js#L99-127
Ideally the workflow should be:
jitsu.package.read
- If no
package.json
, prompt for app name and then attemptjitsu.apps.view
- If application exists, write truncated results to disk and increment version number
- If no application exists (i.e. on
404
error), continue with the rest ofjitsu.package.get
. - Otherwise, error out of the CLI because something bad has happened (i.e.
500
)
from jitsu.
@bmeck - Will you be able to resolve this issue?
from jitsu.
yes i can, but indexzero put it at a low priority so I stalled
On Mon, Jul 11, 2011 at 4:26 PM, Marak
[email protected]
wrote:
@bmeck - Will you be able to resolve this issue?
Reply to this email directly or view it on GitHub:
#55 (comment)
from jitsu.
It looks like I'm still seeing this issue in Jitsu v0.4.0.
https://gist.github.com/1138356
from jitsu.
I don't believe this is still an issue. Closing.
from jitsu.
I've seen this issue recently. I will give you a repro this weekend.
from jitsu.
Am not about to reproduce / haven't seen this. Closing unless someone can post reproducible steps.
from jitsu.
Related Issues (20)
- Error when deploying HOT 2
- Feedback when streaming build logs are done
- Deployment exception HOT 2
- Read environment variables locally and set in app
- Save time by allowing domain and name parameters in jitsu deploy command HOT 2
- Build errors not properly displayed
- Cannot deploy applications with make files HOT 1
- Option to avoid writing to package.json HOT 1
- Allow optional delay to watch for immediate errors on deploy HOT 3
- Warn on wrong engine version HOT 5
- Jitsu throws err HOT 3
- When creating a package.json on jitsu deploy, jitsu skips analysing dependencies if entering details when prompted for 'scripts.start'
- Doesn't work behind a firewall with http proxy setup
- npm version and GH version out of sync HOT 1
- Update of *jitsu* docs and implementation needed
- Authentication error is not displayed HOT 1
- Support for "build metadata"? HOT 4
- Cannot update jitsu and unable to deploy app HOT 6
- jitsu deploy doesn't work HOT 3
- Nodejitsu Error 500
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 jitsu.