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

Fixed repository loading (bsc#1163081) #151

Merged
merged 1 commit into from
Feb 21, 2020
Merged

Fixed repository loading (bsc#1163081) #151

merged 1 commit into from
Feb 21, 2020

Conversation

lslezak
Copy link
Member

@lslezak lslezak commented Feb 21, 2020

  • Do not remove the initial installation repository
  • The Pkg.SourceRestore was no operation when a repository was present, to force it to work the workaround was to call Pkg.SourceFinishAll to forget all repositories. Unfortunately this caused removing the initial installation repository in openSUSE.
  • See related Source restore yast-pkg-bindings#125

Note: the spec file change was introduced in the previous PR #150. I wrongly checked in which packages it was, that caused file conflict (https://ci.suse.de/job/yast-yast-update-master/25/console).

@coveralls
Copy link

coveralls commented Feb 21, 2020

Coverage Status

Coverage increased (+0.007%) to 20.806% when pulling a7a701e on pkg_reinit into 7cb508f on master.

Copy link
Member

@mvidner mvidner left a comment

Choose a reason for hiding this comment

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

OK, but the explanation in the PR description should go to the commit message.

- Do not remove the initial installation repository

- The Pkg.SourceRestore was no operation when a repository was present,
  to force it to work the workaround was to call Pkg.SourceFinishAll
  to forget all repositories. Unfortunately this caused removing
  the initial installation repository in openSUSE.

- See related yast/yast-pkg-bindings#125

- 4.2.17
@lslezak lslezak merged commit 910bbc8 into master Feb 21, 2020
@lslezak lslezak deleted the pkg_reinit branch February 21, 2020 11:45
@yast-bot
Copy link
Contributor

❌ Public Jenkins job #37 failed

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #26 successfully finished
✔️ Created IBS submit request #211957

@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #38 successfully finished
✔️ Created OBS submit request #777939

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

4 participants