build(todo): listed in F-Droid as Task and Calendar & Agenda
F-Droid's Time is for clocks and timers; a to-do list with a calendar belongs under Task and Calendar & Agenda, the developer's choice of both. No other app used Time, so the repository no longer lists it. The release test now checks every category the listing names. ADR 0033 gets D26 (the review's fixes so far) and D27. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
e11ed481ce
commit
7e2f224c66
1 changed files with 43 additions and 12 deletions
|
|
@ -143,13 +143,20 @@ void main() {
|
|||
'${todoRelease.applicationId}.yml',
|
||||
).readAsStringSync();
|
||||
expect(listing, contains('NonFreeNet'));
|
||||
expect(
|
||||
File('${todoRelease.fdroid!.listing}/config/categories.yml')
|
||||
.readAsStringSync(),
|
||||
contains(
|
||||
'\n${RegExp(r'Categories:\n - (.+)\n').firstMatch(listing)![1]}:\n',
|
||||
),
|
||||
);
|
||||
// Task and Calendar & Agenda (ADR 0033, D24), each one the repository
|
||||
// lists.
|
||||
final categories = [
|
||||
for (final match in RegExp(r'^ - (.+)$', multiLine: true).allMatches(
|
||||
RegExp(r'Categories:\n((?: - .+\n)+)').firstMatch(listing)![1]!,
|
||||
))
|
||||
match[1]!,
|
||||
];
|
||||
expect(categories, ['Task', 'Calendar & Agenda']);
|
||||
final listed = File('${todoRelease.fdroid!.listing}/config/categories.yml')
|
||||
.readAsStringSync();
|
||||
for (final category in categories) {
|
||||
expect(listed, contains('\n$category:\n'));
|
||||
}
|
||||
});
|
||||
|
||||
test("Learn's snap is the root's; Todo's and Train's are built in clones of "
|
||||
|
|
|
|||
Loading…
Reference in a new issue