You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An older checkout of a project from build.opensuse.org cannot be updated with osc version 1.8.1. I get an error message that "... is not an osc package working copy"
Enter unpacked directory, open a console and run osc update
See error
Expected behavior
The error message should not appear and the update should take place.
Additional context
A comparison of the old directory with a current check-out results:
$ diff -r windows\:mingw\:snapshots.old/ windows\:mingw\:snapshots
Only in windows:mingw:snapshots/.osc: _osclib_version.
By copying the file _osclib_version into the old directory, the update command is successfully executed, which suggests that the current osc version does not take this case into account.
The older checkout took place in January 2019.
The text was updated successfully, but these errors were encountered:
Thanks for the report. It looks there was a time when osc was creating incorrect checkouts without _osclib_version.
There's a pending PR that fixes that: #1590
Originally I was planning to close it without merging, thinking that it was a one-off problem.
It seems that the problem might be more widespread and it requires a fix rather than forcing users to run osc repairwc for each such directory.
Describe the bug
An older checkout of a project from build.opensuse.org cannot be updated with osc version 1.8.1. I get an error message that "... is not an osc package working copy"
Versions
To Reproduce
Steps to reproduce the behavior:
osc update
Expected behavior
The error message should not appear and the update should take place.
Additional context
By copying the file
_osclib_version
into the old directory, the update command is successfully executed, which suggests that the current osc version does not take this case into account.The text was updated successfully, but these errors were encountered: