-
79658968
by Ansgar at 2022-12-31T19:02:12+01:00
build_file_list: use bool instead of int
-
f79335aa
by Ansgar at 2022-12-31T19:02:18+01:00
use sphinx to build API documentation
-
ca55d2cf
by Ansgar at 2022-12-31T19:02:18+01:00
dakwebserver.py: only connect to database when running script
This makes Sphinx happier when trying to import the file to generate
documentation.
-
d17dd005
by Ansgar at 2022-12-31T19:02:18+01:00
edit_overrides: use bool instead of int
-
d6550dbf
by Ansgar at 2022-12-31T19:02:18+01:00
edit_index: use bool instead of int
-
1e1580a2
by Ansgar at 2022-12-31T19:02:18+01:00
sort_uploads: use defaultdict
-
e6e748b6
by Ansgar at 2022-12-31T19:02:19+01:00
print_new: use standard enumerate function
-
c165611b
by Ansgar at 2022-12-31T19:02:19+01:00
pp_deps: use list comprehension to simplify implementation
-
68480290
by Ansgar at 2022-12-31T19:02:19+01:00
parse_args: use bool instead of int
-
30dd7511
by Ansgar at 2022-12-31T19:02:19+01:00
Changes.binaries: use list comprehension to simplify implementation
-
9a2b04e7
by Ansgar at 2022-12-31T19:02:19+01:00
Changes.buildinfo_files: use list comprehension to simplify implementation
-
2b392ba6
by Ansgar at 2022-12-31T19:02:19+01:00
Changes.bytes: use sum function instead of explicit loop
-
0f8f1fbd
by Ansgar at 2022-12-31T23:44:34+01:00
add more type annotations
-
d889ec01
by Ansgar at 2022-12-31T23:44:37+01:00
session_wrapper: use `functools.wraps` to copy metadata from wrapped function
This makes the argument list and type annotations show up in the
documentation generated by Sphinx.
-
907e7316
by Ansgar at 2022-12-31T23:44:37+01:00
covert most docstrings to Sphinx syntax
This also includes adding more type annotations.
-
0c8f2775
by Ansgar at 2022-12-31T23:44:37+01:00
docs: enable intersphinx extension
-
dfc20c5b
by Ansgar at 2023-01-01T13:00:50+01:00
convert most documentation markup
-
221281b3
by Ansgar at 2023-01-01T13:01:04+01:00
Changes.contents_sha1: call function to return string value
This was found by mypy.
-
3da62c5b
by Ansgar at 2023-01-01T13:01:04+01:00
fix some type annotations
-
8422de05
by Ansgar at 2023-01-01T13:01:05+01:00
parse_file_list: do not try to reference non-existing `self.filename` variable
This was found by mypy.
-
70b36f4f
by Ansgar at 2023-01-01T13:01:05+01:00
allow comparing with arbitrary objects in `__eq__`
This was suggested by mypy.
-
d7174670
by Ansgar at 2023-01-01T13:17:08+01:00
SignatureHistory.from_signed_file: do not call `SignedFile.contents_sha1` property
The property returns a `str` as originally intended since
221281b360940cffdfdf6c46564451b8180de4a3.
-
ecebe093
by Ansgar at 2023-01-01T13:17:11+01:00
madison.py: use raw string for doc string
Otherwise flake8 is unhappy about the escape sequence used for Sphinx.
-
0b2d4b94
by Ansgar at 2023-01-01T13:43:21+01:00
also convert `SignedFile.contents_sha1` into a property
-
d6acd4f1
by Ansgar at 2023-01-01T14:47:37+01:00
print_new: use bool instead of int for `indexed`
-
daceadb7
by Ansgar at 2023-01-01T14:47:39+01:00
parse_changes: use bool instead of int for `dsc_file`
-
f1bb28a3
by Ansgar at 2023-01-01T14:47:39+01:00
add some more type annotations
-
501fe670
by Ansgar at 2023-01-01T14:47:39+01:00
sphinx: include undocumented and private members
This makes the generated documentation more useful when working on DAK
itself.
-
299491fd
by Ansgar at 2023-01-01T14:47:40+01:00
prefix_multi_line_string: use bool instead of int
-
84ef8c12
by Ansgar at 2023-01-02T00:03:00+01:00
use standard sqlalchemy features for `string_agg`
-
40df2970
by Ansgar at 2023-01-02T00:03:02+01:00
silence warning targeted at SQLAlchemy dialect maintainers
-
c753313a
by Cyril Brulebois at 2023-01-19T21:23:17+01:00
dinstall: rsync dep11 data for non-free-firmware too
-
fe3d1e5e
by Ansgar at 2023-01-21T09:24:36+01:00
Merge remote-tracking branch 'origin/merge-requests/267'
-
dab50bc3
by Ansgar at 2023-01-21T09:40:22+01:00
generate-archive-key.conf: update for 12/bookworm
-
328802bf
by Ansgar at 2023-01-21T09:41:35+01:00
Merge branch 'master' into deploy