- 12 May, 2022 3 commits
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
We no longer retain non-source files, so it’s not necessary to inform the user about them or attempt to update them to the latest version. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Previously, we used meta mode to prepare a clean checkout, and them switched the meta mode off immediately afterwards. However, OBS 2.10 no longer supports this behaviour, which was always a hack: at the "validate" step of the commit process, it returns the _meta file as part of the filelist, but as this file is special, it’s not present in the local filelist, resulting in an error message, failing upload and a successful error code (!) being returned: Transmitting file data There is no sha256 sum for file _meta. This could be due to an outdated working copy. Please update your working copy with osc update and commit again afterwards. Instead of this, check out the package in the normal mode, skipping the downloads, and re-add all files from scratch. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 02 Feb, 2021 4 commits
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
* There’s a separate classifier for GPL-2+, let’s us it. * This is a plugin. * No longer a beta. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 23 Dec, 2020 4 commits
-
-
Andrej Shadura authored
This is a hack. OBS tracks metadata and package data separately. Separate revlogs and separate trees. When we create a checkout with meta=True, osc will only request metadata part of the package. This is good for us, since it allows us to start with a mostly clean working directory and still proceed without downloading all of the current contents only to possibly remove it in the first step. However, this also means that we cannot request contents of the latest package tree if we want to retain some files. osc used to allow downloading files for package checkouts with meta=True, but it no longer does. An alternative hack is to create a checkout with meta=False, set the max. download size to 1 byte, check out the latest revision and mark all existing files for deletion. Or we can flip the meta flag back to False after we’re done checking out and manually rewind the current revision to the latest one. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
This is almost what the upstream does, except we don’t care about encodings. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 12 Nov, 2020 5 commits
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 11 Nov, 2020 1 commit
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 10 Nov, 2020 2 commits
-
-
With at least obs-api 2.7.4-3co2 and osc 0.167.1-1, when a package is newly branched from another project, it has a pseudo-file named _link in its remote file list but that file cannot actually be downloaded. Ignore the resulting 404 error. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 09 Nov, 2020 11 commits
-
-
Andrej Shadura authored
-
Andrej Shadura authored
-
Andrej Shadura authored
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
osc’s own help texts are indented by 8 spaces, and various formatting functions expect this indent to be the same across all osc subcommands. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
This prevents the creation of empty no-change commits. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
We will need the metadata when comparing the work tree to the latest commit. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 28 Oct, 2020 1 commit
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 02 Feb, 2020 1 commit
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 14 Jan, 2020 1 commit
-
-
Andrej Shadura authored
updatefile() doesn’t work with _link files since meta=False by default, and OBS gives 404 when this file is requested. This workaround skips _link when it’s found, resulting in breaking the link to the parent package. A proper fix would involve preserving _link, but it’s not clear what is the best way to achieve that. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 23 Dec, 2019 5 commits
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- 27 Feb, 2018 2 commits
-
-
Héctor Orón Martínez authored
Signed-off-by:
Héctor Orón Martínez <zumbi@debian.org>
-
Héctor Orón Martínez authored
Signed-off-by:
Héctor Orón Martínez <zumbi@debian.org>
-