-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Renamed procs/jobs to steps in code #1331
Conversation
@6543 plz review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two generic infos:
- please add some migration information about what changed to the corresponding file in docs
- you must add a DB migration that updates table / column names
server/store/datastore/migration/010_columns_rename_builds_to_pipeline.go
Outdated
Show resolved
Hide resolved
Deployment of preview was successful: https://woodpecker-ci-woodpecker-pr-1331.surge.sh |
This comment was marked as outdated.
This comment was marked as outdated.
Depending on the kind of breaking change. If it affects database table/columm names, you're done with a migration. Otherwise it either will be breaking (depending on how important it is that's fine too, but then add a notice to the docs in the migrations file) or you should add a fallback. |
ok, adding migration script and keeping the changes related to migration (wherever commented need migration) |
@qwerty287 @6543 migration script added & review comments resolved |
I didn't get what fallback means, why it's required and what it will do |
If you just change an environment variable, it will break most users config. So we add a fallback to the old variable name (or whatever else has been breaking) to still be usable with older configs. I can look a bit more into this PR and fix some remaining stuff. |
I pushed various commits that finish renaming and fixes existing stuff. @6543 Probably you'll still find something we have to improve, but I don't really see much more. |
Codecov ReportBase: 44.71% // Head: 44.89% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1331 +/- ##
==========================================
+ Coverage 44.71% 44.89% +0.17%
==========================================
Files 137 138 +1
Lines 9873 9941 +68
==========================================
+ Hits 4415 4463 +48
- Misses 5196 5213 +17
- Partials 262 265 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Co-authored-by: 6543 <6543@obermui.de>
This comment was marked as outdated.
This comment was marked as outdated.
Thanks @Harikesh00 for the initial work on this. |
☝️ |
Thank you @6543 @qwerty287 for all your support, you did a lot |
Renamed `procs` to `steps` in code for the issue woodpecker-ci#1288 Co-authored-by: Harikesh Prajapati <harikesh.prajapati@druva.com> Co-authored-by: qwerty287 <ndev@web.de> Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com> Co-authored-by: 6543 <6543@obermui.de>
Renamed
procs
tosteps
in code for the issue #1288