-
Notifications
You must be signed in to change notification settings - Fork 40
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
Auto updating generated sources for node apps #124
Comments
I'm afraid it won't. We can't just randomly bump npm packages versions, they must be exactly what was specified in the lockfile. |
I guess you misunderstood. Like what we do for pip, I'm asking for generating the sources according to the lockfile, when the lockfile provided by the upstream updated. |
We don't read any lockfiles (pip doesn't even have such) to update PyPI packages, we just look for new versions. |
Then why not do this as per the lockfile for node apps? To my understanding it doesn't bump anything. Just exactly follows the lockfile. |
This is not exactly easy. We'll need to download sources on disk, extract them and run flatpak-builder-tools against them. |
So for anyone interested, here is a modified version of the auto source update workflow: |
@proletarius101 You probably shouldn't update to the latest commit. Veloren, where you took the script from, is special in that regard as the upstream itself suggests using builds from master, which is probably not the case for StandardNotes. You should use tagged releases instead. |
It's suggested by you. But yes, the deps should also be aligned with the tagged version (StandardNotes itself is supposed to be updated by flathubbot instead, which only targets the tagged versions), which can be easily done in the script |
I did not suggest neither to copy that script as is nor to update the app to the branch tip. Moreover, I pretty clearly said it's discouraged. |
Yes but, what are the reasons? I can only think of it tracks the master branch
And it's not |
@proletarius101 Yes, at the very least you should've adapted it to track latest tag instead of the branch tip, and don't use it together with f-e-d-c. |
Since #74 gets supported, it will be even easier to support node apps in the same basis
The text was updated successfully, but these errors were encountered: