- May 16, 2022
-
-
Emanuele Aina authored
The OBS 2.10 update made things sensibly slower, causing timeouts in the packaging-data-fetch-obs job. Disable it for now. Set `SKIP_OBS` to `no` to run the job again. See https://phabricator.apertis.org/T8880 Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- May 09, 2022
-
-
Ensure a log message is printed when loading the cache to give a clearer context when debugging issues. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- May 05, 2022
-
-
Vignesh Raman authored
Add packages that dynamically generate the version of the binaries they produce to BINARY_VERSION_IGNORELIST. Signed-off-by:
Vignesh Raman <vignesh.raman@collabora.com>
-
- Apr 26, 2022
-
-
Vignesh Raman authored
commits moving d/a/component from development to sdk and disabling java support were not backported to v2022 from v2023dev2. So the dashboard reports error for these lagging packages. Hardcode a list of release, package, version to be ignored when reporting these lagging packages. Signed-off-by:
Vignesh Raman <vignesh.raman@collabora.com>
-
- Apr 21, 2022
-
-
Ariel D'Alessandro authored
Currently, all the downstream channels that are based on the source branch are checked to be merged. This doesn't match the linux package configuration, as it doesn't pull updates from the default release upstream sources. For instance, apertis/v2021 release is based on debian/buster, but the apertis/v2021 linux package pulls from debian/bullseye. Let's ignore the linux package upstream branches checking invariant as this is reporting wrong entries and there's another script which takes care of handling all linux package updates: ./bin/packaging-updates-upstream-linux Signed-off-by:
Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-
- Apr 19, 2022
-
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
When iterating with a thread pool, always try to compute a useful identifier rather than doing so only when debug is enabled, since the itemid is also used when reporting about exceptions and retrying. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Apr 02, 2022
-
-
Emanuele Aina authored
The rubygems 3.2.5-2apertis0 package currently produces: * bundler_2.2.5-2apertis0bv2022dev2b1_all.deb * ruby-bundler_2.2.5-2apertis0bv2022dev2b1_all.deb * ruby-rubygems_3.2.5-2apertis0bv2022dev2b1_all.deb Since `bundler` and `ruby-bundler` have a version that does not match the version of the sources let's skip the check. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Mar 31, 2022
-
-
In order to be able to easily identify licensing issues, those should be reported in a different way than other issues. This is achieved by changing the severity of those issues to "warning" and using "license" as the text for the severity badge. This also allows us to easily filter those issues based on the selected severity. This commit also changes the filtering checkboxes labels to better reflect which issues are being taken into account. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
In order to facilitate license compliance, the dashboard should report the most severe license issues found in packages from the "target" repository: this includes cases where we override the existing license information (especially when specifying a global default license) or packages for which whitelisting is enabled for the whole source tree. As part of this effort, this commit fetches the copyright override and whitelisting files, and process those in order to detect major issues. The corresponding new per-branch flags are then set accordingly and added to the output file. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
The `filter_cache()` method used an optional `check_tags` argument to decide between several code paths. This does not properly reflect the purpose of this argument, which is to differentiate between 2 use cases: - check and populate information about the descendants of a given ref - check and populate component and license information As additional fields will have to be taken into account in the future, this rework aims at making the aforementioned method more flexible, while making it clear to which use-case belongs each code path. To that effect, the `check_flags` argument is renamed to `purpose` and now uses an enum to distinguish between use-cases. It also only processes the relevant data for the current use-case: - when checking for descendants, only descendants data is looked up and updated - when checking for license info, only this information is checked and updated Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
- Mar 17, 2022
-
-
Arnaud Ferraris authored
This avoids making unnecessary requests when branches and tags didn't change since the last run. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
- Feb 11, 2022
-
-
Emanuele Aina authored
Reduce the severity of the logs about retrieved licensing logs since they are currently drowning everything else. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Feb 08, 2022
-
-
Emanuele Aina authored
Retrieve all descendants to correctly detect when a branch got merged in another and which tags apply. Unfortunately `commit.refs()` does not currently handle pagination, so only the first 20 items were downloaded. This meant that in some cases no tags were returned, so no version could be computed. In other cases this may have cause incorrect reports of branches not being merged into their downstream, or other issues due to computing the wrong version for the branch. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Jan 31, 2022
-
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Fix the typing class path, it's `collections.abc.Sequence`. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
When retrieving the files under `debian/apertis` only expect the 404 Not Found error and re-raise everything else: we want to cleanly handle missing files, but timeouts (for instance) are actual errors. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Jan 28, 2022
-
-
Emanuele Aina authored
We should report an error on the package if it missing the `debian/apertis/component` file rather than crashing badly. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Jan 15, 2022
-
-
Emanuele Aina authored
When getting an exception, ensure the current package name is printed to debug which one has faulty data. For instance this is now the output, previously only the first exception was printed: Traceback (most recent call last): File "./bin/packaging-check-invariants", line 586, in <module> checker.check_missing_license_report(package) File "./bin/packaging-check-invariants", line 533, in check_missing_license_report if branch.component == "target" and not branch.license_report: File "./bin/packaging-check-invariants", line 90, in __getattr__ item = super(DictWrapper, self).__getitem__(attr) KeyError: 'component' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "./bin/packaging-check-invariants", line 588, in <module> raise Error(package.name) from e __main__.Error: aalib Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Get rid of an indentation level by moving the iteration over the packages out of the check functions. This also will make improving error reporting easier since the package context of each check is now clearly defined when calling it. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Jan 13, 2022
-
-
Emanuele Aina authored
When we release a channel like `apertis/v2023dev0` we still want to keep it monitored for errors to catch issues that may impact downstreams when they mirror it, but we do not want to hear complaints about packages missing updates and lagging behind as that's on purpose. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Rather than iterating over a list and check for membership in another list, just iterate on the other list since we already know it is a strict subset. No behavioral changes. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Avoid assigning two different things to the same variable by giving a more descriptive name to the second one and add a comment. No behavioral changes. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Create a new method to reduce the nesting of the code. No behavioral changes. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Reduce nesting using an early `continue`. No behavioral changes. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Dec 31, 2021
-
-
Emanuele Aina authored
Listing which e.g. `debian/*` tag is contained in a `apertis/*` branch is rather pointless and is a significant waste of resources. Limit the reported tags to the one with a matching prefix, so only `debian/*` tags are listed on `debian/*` branches and only `apertis/*` tags are listed on `apertis/*` branches. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Since we already list all the tag contained in each branch, including the symmetrical list of descendant branches for each tag in the YAML is wasting bytes with duplicated information. We still use the list of descendant branches internally to compute which tags are contained in each branch. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Let's save a few bytes by getting rid of some pointless information. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
This saves a few bytes for each `debian/*` and `upstream/*` branch. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Dec 27, 2021
-
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Dec 22, 2021
-
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Rather than using plaintext error messages, use readable codes and structured metadata for errors and updates to make them easier to process. This will be particularly useful for filtering: for instance we preserve the branch information rather than muddling it in the error message. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Dec 21, 2021
-
-
Emanuele Aina authored
When multiple sources are published, check the version of the most recent one rather than whatever comes first. This avoids reporting a mismatched version when things are just ambiguous. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Add more parallel workers whe retrieving the component and licensing report from git to speed up the process. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Since we moved all git repositories directly under a single `pkg/` group instead of the `pkg/$component/` nested categories, checking for duplicates is no longer relevant. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
No functional changes, just get rid of a level of indentiation. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
Let users focus on a subset of the available packages to speed up the test cycle during development. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Dec 06, 2021
-
-
Emanuele Aina authored
We pass a list of `OBSEntry` to `thread_pool()`, so add a `id` property that better identifies the current entry to give enough context should things go wrong. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-