Skip to content
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

Fix upgrade old version #99

Merged
merged 2 commits into from Mar 18, 2018
Merged

Fix upgrade old version #99

merged 2 commits into from Mar 18, 2018

Conversation

maniackcrudelis
Copy link
Contributor

@maniackcrudelis maniackcrudelis commented Mar 12, 2018

Problem

  • Upgrade from an old version fails because the patches can't be applicated.

Solution

  • Move the patches and restore them at their real place only for the last upgrade. We can't expect that the patches can be applicated to all versions. And they don't have to.

PR Status

Work finished. Package_check, basic tests and upgrade from last version OK.
Could be reviewed and tested.

Validation


Minor decision

  • Upgrade previous version : JimboJoe
  • Code review : frju365
  • Approval (LGTM) : frju365
  • Approval (LGTM) : JimboJoe
  • CI succeeded : Build Status
    When the PR is mark as ready to merge, you have to wait for 3 days before really merge it.

scripts/upgrade Outdated
# Patch nexcloud files only for the last upgrade.
if [ "$current_major_version" = "last" ]
then
cp -a ../sources/patches_last_version ../sources/patches
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be cleaner if you added that line and the corresponding comment on L179...?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, yes... Why I didn't do that ...?

@maniackcrudelis maniackcrudelis requested a review from a team March 15, 2018 10:10
Copy link
Contributor

@JimboJoe JimboJoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and upgrade from previous version OK 👍

@JimboJoe
Copy link
Contributor

Will be merged in 3 days.

@JimboJoe JimboJoe merged commit 0e56a2f into testing Mar 18, 2018
@JimboJoe JimboJoe deleted the fix_upgrade branch March 18, 2018 07:59
@JimboJoe JimboJoe mentioned this pull request Mar 18, 2018
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants