-
e80814ef
by Julian Andres Klode
at 2019-07-11T18:23:54+02:00
Use xz compression for Translation indices in unstable/experimental
Closes: #930103
-
038b08f4
by Julian Andres Klode
at 2019-07-11T18:31:01+02:00
Fix NameError suite
-
0fa1e37e
by Julian Andres Klode
at 2019-07-11T16:45:36+00:00
Apply suggestion to config/debian/dinstall.functions
-
61a16e02
by Julian Andres Klode
at 2019-07-11T18:45:58+02:00
Don't override compression in filewriter
We get the compression value from the table
-
44b29586
by Julian Andres Klode
at 2019-07-11T18:45:58+02:00
generate-i18n-Index: set -o nullglob to handle missing files
-
07d4c627
by Ivo De Decker
at 2020-02-29T20:23:40+00:00
Tests: split off 2001-nviu from 2000-dinstall
-
0eb6a798
by Ivo De Decker
at 2020-02-29T20:23:40+00:00
Tests: split off 2002-c-s-versionchecks from 2000-dinstall
-
ba5435a5
by Ivo De Decker
at 2020-02-29T20:23:40+00:00
tests: split off setup of unstable
Speed up tests that don't need other suites
-
894ec11c
by Ivo De Decker
at 2020-02-29T20:23:40+00:00
tests: use scripts in 1000-external-signatures v1
-
a01e1353
by Ivo De Decker
at 2020-03-01T00:07:31+01:00
Testsuite: check_all_suites: check content of archive directories
When checking the content of the suites, also check the list of files in each
of the archives.
Note that only filenames are checked, not the contents.
Also, hashes and timestamps are ignored, as they are not stable.
-
2d26a6ab
by Ivo De Decker
at 2020-03-01T00:07:52+01:00
Tests: add archive output
-
f8ac661c
by Ivo De Decker
at 2020-03-02T20:55:13+00:00
Add name and arch_string to DBBinary and DBSource
-
78a8e309
by Ivo De Decker
at 2020-03-05T21:11:52+00:00
control-suite: implement propup-version
-
0e3c41a7
by Ivo De Decker
at 2020-03-05T21:11:52+00:00
Add test 2003-c-s-propup
-
d537db70
by Ivo De Decker
at 2020-03-21T19:00:21+00:00
Add option to throw away binaries for NEW uploads
-
c48ef0d8
by Ivo De Decker
at 2020-03-21T19:00:21+00:00
add utils.move_to_morgue function
-
16009651
by Ivo De Decker
at 2020-03-21T19:00:21+00:00
Move throw-away NEW binaries to morgue
-
937be16a
by Ivo De Decker
at 2020-03-21T19:12:46+00:00
add test 3000-throwaway-new
Please note that this test assumes that uploads by buildds use a suffix
(like pkgnew_0.1-1_amd64-buildd.changes), to avoid filename conflicts
with the orignal upload.
-
f59779b0
by Ivo De Decker
at 2020-03-21T19:13:59+00:00
update test output for 3000-throwaway-new
-
076c14f5
by Chris Lamb
at 2020-03-25T12:19:18+00:00
Revert "lintian tags: remove gzip-file-is-not-multi-arch-same-safe for now"
This reverts commit 3ff66a425d55d888985844f384f09b04c718beea as lintian
2.59.0~bpo10+1 was accepted in buster-backports:
https://tracker.debian.org/news/1112252/accepted-lintian-2590bpo101-source-all-into-buster-backports/
-
3d93ba92
by Romain Porte
at 2020-03-26T19:41:23+01:00
dak/examine_package.py: improve colors for accessibility
The colors for "main" and "contrib" sections (resp. yellow and aqua) are
barely readable on a white background, like on the package details on
https://ftp-master.debian.org/new/<package>.html.
This patch propose new colors with "equivalent psychological"
meanings that can be read on a white background.
-
7764742c
by Michael Lustfield
at 2020-03-27T22:46:16-05:00
Change default action to abandon for empty notes.
In the past, I've accidentally created some empty notes by pressing
enter instead of Abandoning the note. This changes the default from Done
to Abandon only if an empty note was created.
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
9e406538
by Michael Lustfield
at 2020-03-27T22:47:17-05:00
Clean up formatting on readme file
This file was nearly RST-formatted; now it is.
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
6c111b41
by Michael Lustfield
at 2020-03-27T22:47:17-05:00
Add some developer/tester documentation.
This additional documentation describes how to get a dev/test instance
of dak up and running.
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
ee5b48fe
by Michael Lustfield
at 2020-03-27T22:47:17-05:00
Add a few more To Do items.
These are some frustrations I've encountered working through the queue.
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
a27c236b
by Michael Lustfield
at 2020-03-27T22:47:17-05:00
Clean up documentation.
The leading "README." on each file seems excessive, especially
considering this is a "docs/" directory. This was removed to make
identifying specific files a bit easier. Appropriate file extensions
were also added.
Formatting was also cleaned up so nearly-rst documents could be
rendered properly.
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
4a564812
by Michael Lustfield
at 2020-03-27T22:47:17-05:00
Add docs/README.rst
This is just a simple "readme" that directs new readers to the
documentation that will likely be most relevant to them.
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
f4f569bf
by Michael Lustfield
at 2020-03-27T22:47:17-05:00
Move README.coding to docs/code-guidelines.rst.
This moves the code standards to a place that is consistent with other
DAK-related documentation. This document is now rst-formatted as well.
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
45ac7ce3
by Michael Lustfield
at 2020-03-27T22:47:17-05:00
Grammar: noun vs. verb
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
09e990e8
by Michael Lustfield
at 2020-03-27T22:47:17-05:00
Per-discussion updates
Signed-off-by: Michael Lustfield <michael@lustfield.net>
-
10119163
by Jochen Sprickerhof
at 2020-03-29T11:25:19+02:00
[dsync] Drop GNU MIN/MAX definition
Seems like operators have been dropped from GNU C++
-
f06c66a8
by Jochen Sprickerhof
at 2020-03-29T11:25:51+02:00
[dsync] Add missing string.h for strlen
-
a9e3c7c1
by Ivo De Decker
at 2020-03-29T21:37:47+00:00
testsuite: add reject to 0001-basic
Currently, only accept is actually tested, but reject isn't that
uncommon, so we might want to test that codepath as well.
-
3463aaa6
by Ivo De Decker
at 2020-03-30T13:37:13+00:00
examine_package: gracefully handle missing lintian
-
794060ae
by Ivo De Decker
at 2020-03-30T13:40:10+00:00
process_new: don't hang when getting exception
Use Popen.communicate() instead of Popen.wait(), which can deadlock.
This can happen when examine_package raises an exception.
-
8e31c216
by Joerg Jaspert
at 2020-04-10T22:32:38+02:00
Merge branch 'pr-171'
* pr-171:
Per-discussion updates
Grammar: noun vs. verb
Move README.coding to docs/code-guidelines.rst.
Add docs/README.rst
Clean up documentation.
Add a few more To Do items.
Add some developer/tester documentation.
Clean up formatting on readme file
-
58d29508
by Joerg Jaspert
at 2020-04-10T22:38:58+02:00
Merge branch 'pr-181'
* pr-181:
Tests: add archive output
Testsuite: check_all_suites: check content of archive directories
tests: use scripts in 1000-external-signatures v1
tests: split off setup of unstable
Tests: split off 2002-c-s-versionchecks from 2000-dinstall
Tests: split off 2001-nviu from 2000-dinstall
-
17e7af76
by Joerg Jaspert
at 2020-04-10T22:41:35+02:00
Merge branch 'pr-190'
* pr-190:
testsuite: add reject to 0001-basic
-
3d0f77ba
by Joerg Jaspert
at 2020-04-10T22:44:07+02:00
Merge branch 'pr-173'
* pr-173:
Change default action to abandon for empty notes.
-
80f7d0a9
by Joerg Jaspert
at 2020-04-10T22:47:36+02:00
Merge branch 'replace-gzip-file-is-not-multi-arch-same-safe'
* replace-gzip-file-is-not-multi-arch-same-safe:
Revert "lintian tags: remove gzip-file-is-not-multi-arch-same-safe for now"
-
f07d3985
by Joerg Jaspert
at 2020-04-10T22:49:01+02:00
Merge branch 'pr-187'
* pr-187:
dak/examine_package.py: improve colors for accessibility
-
19f2f17e
by Joerg Jaspert
at 2020-04-10T22:51:43+02:00
Merge branch 'pr-184'
* pr-184:
update test output for 3000-throwaway-new
add test 3000-throwaway-new
Move throw-away NEW binaries to morgue
add utils.move_to_morgue function
Add option to throw away binaries for NEW uploads
-
8b61bb0d
by Joerg Jaspert
at 2020-04-10T23:01:13+02:00
Merge branch 'xz-translations'
* xz-translations:
generate-i18n-Index: set -o nullglob to handle missing files
Don't override compression in filewriter
Apply suggestion to config/debian/dinstall.functions
Fix NameError suite
Use xz compression for Translation indices in unstable/experimental
-
46d727f6
by Joerg Jaspert
at 2020-04-10T23:05:05+02:00
Merge branch 'fix_dsync'
* fix_dsync:
[dsync] Add missing string.h for strlen
[dsync] Drop GNU MIN/MAX definition
-
775022e6
by Niels Thykier
at 2020-04-10T21:35:44+00:00
dak admin: Fix NameError in (unused) suite-component rm
Signed-off-by: Niels Thykier <niels@thykier.net>
-
13ca067e
by Niels Thykier
at 2020-04-10T21:35:47+00:00
dak admin: Improve error message when converter fails
Signed-off-by: Niels Thykier <niels@thykier.net>
-
83489b88
by Niels Thykier
at 2020-04-10T21:35:48+00:00
dak admin: Interpret all cli-args for suite-config as utf-8 early
Signed-off-by: Niels Thykier <niels@thykier.net>
-
cd90dd23
by Niels Thykier
at 2020-04-10T21:35:49+00:00
dak admin: Support JSON as input and output for suite-config
By using JSON, we have a standardized format for handling list based
configurations.
Signed-off-by: Niels Thykier <niels@thykier.net>
-
800544c7
by Niels Thykier
at 2020-04-10T21:59:06+00:00
dak admin: Let suite-config support view/update foreign keys values
With this change, suite-config can now be used to view or/and update the
following configurations:
* archive: read-only
* debugsuite: read + write
* new_queue: read + write
* policy_queue: read + write
Note the omission of "_id" is deliberate as "dak admin suite-config"
represent them by name rather than ID.
The test suite has been updated to use "dak admin suite-config"
instead of throwing a hand-made SQL query after psql for setting
debugsuites.
Signed-off-by: Niels Thykier <niels@thykier.net>
-
63e2333f
by Ivo De Decker
at 2020-04-11T11:51:22+00:00
Tests: gpg data converted to newer format
-
6e60df26
by Ivo De Decker
at 2020-04-11T11:51:22+00:00
Tests: Add keys with non-ascii characters to keyring
Also, add script to create the keys, for easy creation of similar keys.
-
5de08d7b
by Ivo De Decker
at 2020-04-11T11:51:22+00:00
Tests: add snowman package
-
c139d17b
by Ivo De Decker
at 2020-04-11T11:51:22+00:00
Tests add grave package
-
0dccb384
by Ivo De Decker
at 2020-04-11T12:29:50+00:00
Add test with revoked key
-
cb61a01b
by Ivo De Decker
at 2020-04-11T12:29:50+00:00
Add encoding test
-
f14f111a
by Ivo De Decker
at 2020-04-11T18:23:07+00:00
integration-tests/run-tests: show name of failed test
-
e4cad43a
by Ivo De Decker
at 2020-04-11T18:23:07+00:00
dak-setup.sh: update path handling
This should allow 2to3 tests to run.
-
7a17686c
by Ivo De Decker
at 2020-04-11T18:23:07+00:00
run-dbtests: run tests in tmp dir
-
2c8de840
by Ivo De Decker
at 2020-04-11T18:23:07+00:00
dbtest_packages: fix hardcoded path
-
07836c54
by Ivo De Decker
at 2020-04-11T18:23:07+00:00
integration-tests/runner-lib: use DAK_ROOT if set
This should allow running 2to3 tests.
-
2bccdc2e
by Ivo De Decker
at 2020-04-11T18:23:07+00:00
integration-tests/dak-coverage.sh: support python3-coverage
-
586f5a9e
by Ivo De Decker
at 2020-04-11T18:23:07+00:00
run-ci: only run apt-get when running as root
Allows running run-ci as unprivileged user when the needed packages are
already installed.
-
318cd6fd
by Ivo De Decker
at 2020-04-12T10:22:41+00:00
run-ci: add option to run python3 tests with 2to3
-
e24684d2
by Ivo De Decker
at 2020-04-12T10:22:41+00:00
ci: add python3 integration tests
-
0fab5b55
by Ivo De Decker
at 2020-04-12T10:22:41+00:00
forget_signature: explicitly open file as binary
-
970a6ffe
by Ivo De Decker
at 2020-04-12T10:22:41+00:00
replace cmp, as it is not available in python3
Replace cmp(a, b) with (a > b) - (a < b), as suggested on
https://docs.python.org/3.0/whatsnew/3.0.html
-
c0f2c9ff
by Ivo De Decker
at 2020-04-12T10:22:41+00:00
generate_index_diffs: open temporary file as text
-
4895867c
by Ivo De Decker
at 2020-04-12T10:22:41+00:00
ArchiveUpload: use list instead of set for final_suites
Suite is not hashable in python3.
-
3d207c3c
by Ivo De Decker
at 2020-04-12T10:22:41+00:00
policy.py: write accept/reject files as text
-
a13b98d0
by Ivo De Decker
at 2020-04-12T10:32:50+00:00
process_upload: handle UnicodeDecodeError
In python3, showing the contents of a (broken) changes file can raise a
UnicodeDecodeError. Handle this situation.
-
7f355461
by Ivo De Decker
at 2020-04-12T10:33:12+00:00
Show exceptions in {source,binary}_scan_helper
-
a9e06e41
by Ivo De Decker
at 2020-04-12T10:33:12+00:00
call_editor: open temporary file as text
-
88f359f9
by Ivo De Decker
at 2020-04-12T10:33:12+00:00
dbconn: show output when gpg fails in load_keys
-
03b38622
by Ivo De Decker
at 2020-04-12T10:33:12+00:00
daksql: explicitly set Text type for literal
-
beec65af
by Joerg Jaspert
at 2020-04-12T23:26:12+02:00
Merge branch 'pr-192'
* pr-192:
Add encoding test
Add test with revoked key
Tests add grave package
Tests: add snowman package
Tests: Add keys with non-ascii characters to keyring
Tests: gpg data converted to newer format
-
2beda248
by Joerg Jaspert
at 2020-04-12T23:28:49+02:00
Merge branch 'pr-194'
* pr-194:
daksql: explicitly set Text type for literal
dbconn: show output when gpg fails in load_keys
call_editor: open temporary file as text
Show exceptions in {source,binary}_scan_helper
process_upload: handle UnicodeDecodeError
policy.py: write accept/reject files as text
ArchiveUpload: use list instead of set for final_suites
generate_index_diffs: open temporary file as text
replace cmp, as it is not available in python3
forget_signature: explicitly open file as binary
ci: add python3 integration tests
run-ci: add option to run python3 tests with 2to3
run-ci: only run apt-get when running as root
integration-tests/dak-coverage.sh: support python3-coverage
integration-tests/runner-lib: use DAK_ROOT if set
dbtest_packages: fix hardcoded path
run-dbtests: run tests in tmp dir
dak-setup.sh: update path handling
integration-tests/run-tests: show name of failed test
-
cb27186d
by Joerg Jaspert
at 2020-04-12T23:29:41+02:00
Merge branch 'pr-191'
* pr-191:
process_new: don't hang when getting exception
examine_package: gracefully handle missing lintian
-
692c391f
by Joerg Jaspert
at 2020-04-12T23:31:27+02:00
Merge branch 'pr-182'
* pr-182:
Add test 2003-c-s-propup
control-suite: implement propup-version
Add name and arch_string to DBBinary and DBSource
-
241e5b0a
by Joerg Jaspert
at 2020-04-12T23:32:30+02:00
Merge branch 'master' into deploy
* master: (65 commits)
daksql: explicitly set Text type for literal
dbconn: show output when gpg fails in load_keys
call_editor: open temporary file as text
Show exceptions in {source,binary}_scan_helper
process_upload: handle UnicodeDecodeError
policy.py: write accept/reject files as text
ArchiveUpload: use list instead of set for final_suites
generate_index_diffs: open temporary file as text
replace cmp, as it is not available in python3
forget_signature: explicitly open file as binary
ci: add python3 integration tests
run-ci: add option to run python3 tests with 2to3
run-ci: only run apt-get when running as root
integration-tests/dak-coverage.sh: support python3-coverage
integration-tests/runner-lib: use DAK_ROOT if set
dbtest_packages: fix hardcoded path
run-dbtests: run tests in tmp dir
dak-setup.sh: update path handling
integration-tests/run-tests: show name of failed test
Add encoding test
...