debci (3.1) experimental; urgency=medium [ Pavit Kaur ] * Change Retry link to point to the self service interface * Migrate to logins using Salsa * Update the jobs table to add real reference to users table * Add private jobs flag to jobs [ Antonio Terceiro ] * Debci::Job: add index for field package_id * Debci::Job: index requestor_id -- Antonio Terceiro Sun, 27 Jun 2021 08:39:41 -0300 debci (3.0.1) experimental; urgency=medium * backends/lxc/create-testbed: guard against undefined variable -- Antonio Terceiro Sun, 30 May 2021 11:14:12 -0300 debci (3.0) experimental; urgency=medium [ Antonio Terceiro ] * backends: install ca-certificates * backends: qemu: don't make `debci` a system user (Closes: #983156) * Revert "backends: qemu: don't make `debci` a system user" * backends: qemu: translate proxy inside VM back * backends: qemu: replace adduser with useradd * Revamp shell best practices checks * Run codespell on `make test` and gitlab CI * doc: INSTALL.md: point to HACKING.md for development environments * debci-autopkgtest: setup APT retries * self service: fix example JSON file * codespell: ignore tags file * self_service: don't hide exceptions * Debci::TestHandler: handle missing arch without crashing * Debci::HTMLHelpers: display pinned packages correctly * Debci::App: extract get_page_range from Debci::SelfService * self_service_history: extract pagination code * Move all kaminari requires do debci/db * tools/check-shell-scripts.sh: don't finish on the first failure * spec_helper: resist simplecov not being installed * Debci::Package#backend: make test independent of local configuration * Debci::Expiration: add basic tests * spec_helper: bump required test coverage * docs/HACKING.md: clarify the setup methods [ daemon1024 ] * Fix Style/ConditionalAssignment violations [ Sergio de Almeida Cipriano Junior ] * Fix Style/GlovalVars issue * Rename blacklist to rejectlist [ Paul Gevers ] * docs/MAINTAINERS.md: update paragraph about Testsuite: header [ Ceda EI ] * backends/lxc/create-testbed: Fix shellcheck issues * backends/fake/test-package: Fix style violation AndOr * Fix incorrect key in self service documentation (archs -> arch) * Update Vagrantfile from contrib-buster64 to buster64 * Replace proxy detection using netcat with auto-apt-proxy * Add /api/v1/reject_list to access reject list via an API * Update Vagrantfile to debian/bullseye64 * Fix — being escaped for Trigger on retry page * Add warning on retry page when there are pending jobs [ Candy Tsai ] * frontend: implement server-side package search [ Pavit Kaur ] * rename whitelist to seed_list * Make value of slow_tests configurable * Update /api/v1/retry to check if package in reject list * Update to disable submit test requests when selected "Export to JSON" * Add a way to specify backend for a given package * Update to remove removed packages' results in status * Fix to reduce loading time on package pages [ Kritika Srivastava ] * lib/debci/api.rb : Fix style violation HashSyntax * fixed customize.sh [ Lizard Morrow ] * Fix shellcheck errors/warnings in lib/environment.sh. [ Gaurav Ahlawat ] * Removed shellcheck warnings * Moved the retry endpoints from API to SelfService * Moved the retry endpoints from API to Self-Service and added tests [ Ron Friedman ] * Removed rubocop_todo entry & corrected style violation * Move getkey endpoints from API to SelfService -- Antonio Terceiro Sat, 29 May 2021 08:26:02 -0300 debci (2.15.2) unstable; urgency=medium * autopkgtest: mark test-suite as flaky -- Antonio Terceiro Sat, 22 May 2021 07:30:43 -0300 debci (2.15.1) unstable; urgency=medium * test_helper: ensure a unique rabbitmq node name on CI environments. This hopefully fixes the unreliability of the functional tests on ci.debian.net. (Closes: #953947) * debian/tests/integration-test: don't install lxc or schroot -- Antonio Terceiro Tue, 06 Apr 2021 18:53:57 -0300 debci (2.15) unstable; urgency=medium * js: drop console.log noise when loading chart data * js: position chart legends at the top left * test_helper: improve temporary directory name * Debci::Collector: log when starting and stopping * Debci::App: add common 404 handler * Generate package pages dynamically * Move all static HTML for /packages away * Drop obsolete config.ru file * Add some unit tests for Debci::HTML::CLI * api: add basic tests for fetching test results * api: sort results by updated_at -- Antonio Terceiro Sun, 24 Jan 2021 14:36:26 -0300 debci (2.14.1) unstable; urgency=medium * self_service_spec: fix test on arm64 -- Antonio Terceiro Mon, 21 Dec 2020 23:00:49 -0300 debci (2.14) unstable; urgency=medium [ Antonio Terceiro ] * Debci::Job: fix parameters for multiple pinned packages * ui: improve expansion of pinned packages * Drop dependency on bsdmainutils (Closes: #964525) * Debci::Job: fix newsworthiness check * debci-worker: retry result submission until it works * docs/HACKING.md: drop gratuitous reference to stretch [ intrigeri ] * MAINTAINERS.md: fix command that adds user to group [ Baptiste Beauplat ] * Remove redundant tag in the Automate section of the history page [ Sebastien Delafond ] * Add 'worker' field to job result (Closes: #958975) -- Antonio Terceiro Fri, 18 Dec 2020 16:59:26 -0300 debci (2.13) unstable; urgency=medium [ Antonio Terceiro ] * Add a proper user model * Debci::HTMLHelpers: fix parsing invalid pinnings * ui: switch to escaped HTML by default (Closes: #962862) * Set default external encoding to UTF-8 [ Milos Knezevic ] * Fix missing build dependency (debootstrap) * Fix issue with init script exiting prior creating dev.conf * Fix lintian 'spelling-error-in-changelog' warning * Improve slight inconsistencies in docs/HACKING.md [ Utkarsh Gupta ] * Fix broken link for feed * Show package details on the retry page -- Antonio Terceiro Sun, 28 Jun 2020 09:36:14 -0300 debci (2.12.2) unstable; urgency=medium * ui: fix table header in package history page * Debci::Collector: update only given suite/arch * Drop status from package list (prefix) pages. Unfortunately it's too expensive to produce those pages at the moment, so we can't afford to rebuild them on every new job. * Debci.log: flush STDOUT on each message * Debci::HTML: avoid extra queries * Debci::Package.history: fix ordering * Debci::Job: fix definition of "previous" job * job_spec: fix handling of dates to not fail in the future -- Antonio Terceiro Fri, 15 May 2020 20:36:01 -0300 debci (2.12.1) unstable; urgency=medium * Debci::HTML: fix creation of global status.json * migrations: fix creation of Debci::PackageStatus * Debci::HTML: fix blacklist * Debci::Job.receive: handle repeating previously interrupted receivements -- Antonio Terceiro Thu, 14 May 2020 14:24:48 -0300 debci (2.12) unstable; urgency=medium * Debci::Job.receive: support jobs with no version * Debci::HTML: fix usage with broken symlinks * Debci::Collector: handle all types of errors * html: drop global feed * Debci::HTML: use only data from the database * self service/jobs: drop column for "debci log" * ui: display migration tests in the package history page -- Antonio Terceiro Wed, 13 May 2020 21:55:42 -0300 debci (2.11) unstable; urgency=medium * Debci::Test::Duration.duration_human: handle zero * Drop links to "debci log" files * debci-test: add buildd suite for migration tests * Reformulate generation of static content - Debci::Job: receive autopkgtest results - Reformulate HTML generation - Add new CLI `debci html`; deprecate `debci generate-html` - Deprecate debci-generate-index; individual package pages are now updated right away when results for that package arrive; debci-update now only updates global pages (home page, status etc) - move all the real logic inside Debci::HTML - individual .json result files and "debci log" files are not longer produced. - debci-collector has been rewritten in Ruby, and will now receive results from the AMQP queue and directly import them instead of saving them to autopkgtest-incoming for later processing. - Legacy jobs in autopkgtest-incoming/ are processed o upgrade. - The data/status/ files are now simplified. For history, we keep a single status file per day. Existing data is migrated on upgrade. This set of changes provides a good performance enhancement. For example, running the full integration test suite on my machine now takes 240 seconds instead of > 300 * Drop pointless ${shlibs:Depends} from package dependencies * Makefile: fix parallel builds * Bump debhelper compatibility level to 12 - Drop `--with systemd`, now handled by dh_installsystemd * Add Rules-Requires-Root: no * Replace dpkg-maintscript-helper calls in maintainer scripts with debian/debci.maintscript -- Antonio Terceiro Sun, 19 Apr 2020 16:24:52 -0300 debci (2.10) unstable; urgency=medium [ Abhishek Kumar ] * [Status]: Fix inconsistent results produced * [Status]: Filter blacklisted and old statuses [ Antonio Terceiro ] * Debci::DB: support ActiveRecord 6 and drop support for < 5.2 * Add more indexes to the jobs table * debci-expire: use database and look only for expired jobs * Debci::Status: remove duplicate implementation of expired? -- Antonio Terceiro Sat, 04 Apr 2020 17:53:25 -0300 debci (2.9) unstable; urgency=medium [ Sébastien Delafond ] * Detect Kali in backends/lxc/create-testbed * api: allow passing an extra, optional priority parameter to enqueue jobs with [ Antonio Terceiro ] * debci-test: optimize storage of logs * Add some tests for debci-test * lib/environment.sh: accept amqp SSL options separately * Debci::AMQP: add TLS support * Remove all remaining mentions of $ADTTMP in favor of $AUTOPKGTEST_TMP * debci-autopkgtest: avoid trying to write to unexisting directory -- Antonio Terceiro Sun, 01 Mar 2020 11:06:40 -0300 debci (2.8) unstable; urgency=medium * Debci::Job#to_s: use "pending" when when status is nil * debci-localtest: ignore failure to record package (Closes: #950305) * Add configuration variable for amqp-tools options * debian/tests: replace deprecated $ADTTMP with $AUTOPKGTEST_TMP -- Antonio Terceiro Mon, 17 Feb 2020 19:06:21 -0300 debci (2.7) unstable; urgency=medium * lxc: allow for some sorting of container names * api: fix call to check for blacklisted packages * api: set date of test requests for blacklisted packages * job history: don't link to missing files * Add migration to set date of jobs for blacklisted packages * Debci::Job: extract prefix method into shared module * Debci::HTML: history: don't link to missing files * html: history: fix HTML * Debci::Blacklist: fix test for blacklist on suite/arch * ui: job history: display duration * self_service_history.erb: get fields directly as method calls * Debci::Status.from_file: always set a package name * Debci::Blacklist: add support for wildcards in package names * self-service: job history: improve navigation links * Debci::SelfService: make sure @user is set when available * Debci::Blacklist: avoid crashes when passed nil * debci-autopkgtest: record package/suite/arch inside testbed * lxc: make testbed creation atomic * schroot: make test bed creation atomic * debci-setup: drop test bed locking (Closes: #931206) * debci-test: drop testbed locking * tests: ensure backend is 'fake' * debci-generate-index: rename variable * api: avoid data loss when enqueue fails -- Antonio Terceiro Sun, 12 Jan 2020 13:46:51 -0300 debci (2.6) unstable; urgency=medium * lxc: generate random container names * Debci::Job.import: validate package name * Move collector-only programs to debci-collector * Debci::AMQP: consolidate AMQP connection logic * test_worker: exclude existing processes from check for leftover processes * ui: user job list: show a reasonable number of pagination links * debci-collector: override "no ruby dep" from lintian * Bump Standards-Version to 4.4.1; no changes needed -- Antonio Terceiro Sun, 17 Nov 2019 19:28:29 -0300 debci (2.5) unstable; urgency=medium * Debci::Status: extract duration_human to a module * Debci::Data::Import: ignore unknown fields * Makefile: add quick-check target to run robocop and rspec * Debci::Job: include readable duration in JSON output * spec_helper: add missing require * Debci::Test::Expired: short circuit to false * ui: job history: don't link to results of unfinished tests * self_service: redesign authentication * ui: self_service: use a configured session secret key * ui: self_service: display custom "auth failed" page * Debci::TestHandler.enqueue: make priority an argument * ui: job history: do only exact match on package names * Debci::SelfService: remove pointless check * ui: job history: accept * as wildcard for package names * Revert "Debci::Repository: sort "slow packages" by duration" -- Antonio Terceiro Mon, 11 Nov 2019 11:06:23 -0300 debci (2.4) unstable; urgency=medium * ui: pending jobs: display requestor * Debci::Repository: sort "slow packages" by duration * ui: job history: sort by date with newest first * ui: job history: avoid extra params in pagination links * ui: job history: increase num of items per page * Debci::Status: extract #expired? into a module * Debci::HTML: extract #filesize into Debci::HTMLHelpers * ui: job history: link to test results -- Antonio Terceiro Tue, 15 Oct 2019 23:21:46 -0300 debci (2.3) unstable; urgency=medium * Debci::Job: extract method to produce package history * Debci::Job.history: omit migration tests * debci job latest-json: reuse Debci::Job.history * debci.install: install config.ru * config.ru: only serve static files in development mode * ui: history: fix reading log and artifacts size * ui: history: when linking to requestor, filter to match current page * Debci::HTML: extract method for status icons into a helper * ui: user job history: display test status -- Antonio Terceiro Sun, 13 Oct 2019 13:14:59 -0300 debci (2.2.2) unstable; urgency=medium [ Paul Gevers ] * Fix debci-setup-chdist to use the right interface of debci-generate-apt-sources * debci-status: make robust for empty result entries [ Antonio Terceiro ] * Debci::HTML: use ERB builtin HTML escaping * Debci::Status: skip unescaping trigger * ui: always escape triggers * debci-status: skip empty entries * debci job latest-json: ignore pending jobs -- Antonio Terceiro Tue, 01 Oct 2019 12:00:25 -0300 debci (2.2.1) unstable; urgency=medium * debci-autopkgtest: fix a regression when reading an undefined variable - Revert "debci-autopkgtest: skip --apt-upgrade on null backend" - Revert "lxc, schroot: drop explicit --apt-upgrade" - Revert "debci-autopkgtest: always pass --apt-upgrade" - qemu: pass --apt-upgrade to autopkgtest -- Antonio Terceiro Tue, 24 Sep 2019 13:53:33 -0700 debci (2.2) experimental; urgency=medium [ Antonio Terceiro ] * Debci::HTML.platform_specific_issues: don't crash on date-less statuses * Update .rubocop_todo.yml * Debci::Status: read date from `created_at` as fallback * debci-generate-html: add option to regenerate all packages * Debci::Status: fix Ruby code style warnings * debci-setup-chdist: always updates APT configuration * debci-setup-chdist: workaround absence of buildd-stable-proposed-updates * UI: link to bug reports for source package * docs/HACKING.md: add some contribution guidelines * API doc: drop unused stylesheet inside