This file is indexed.

/usr/share/doc/dh-ada-library/TODO is in dh-ada-library 6.12.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Changes affecting dependencies (new major number)

Abort the build if the .ali files changed with the same debian
aliversion (which is in the -dev package name).
Discuss the idea with users first.
See TODO.check_aliversion. Only keep checksums, timestamps should be
ignored (because of SOURCE_DATE_EPOCH for example).


More simple and consistant handling of library options:
 The \fILinker\fR package of the new project
 inherits any
-.B \-l
-or
-.B \-L
-linker options from \fILeading_Library_Options\fR
-and \fILibrary_Options\fR attributes of the build project file.
+Linker package of the build project file.
The documentation should also recall the difference between the three
fields.

TODO.change_input_format.diff

"-dev Depends: gnat" and "-dbg Suggests: gnat".
Using a substitution variable for a name that does not depend on
ali/soversion increases complexity without benefit. Drop them in favor
of a warning if the value are not in debian/control.

More generally, include checks that lintian cannot do as it cannot
detect Ada packages. Examples:
source: Build-Depends on gnat
source: Build-Depends on gnat-X.Y (would make the call to gnatgcc
                    --version unneeded in the Makefile snippet).
-dev: Depends on gnat
-dev: Depends on gnat-X.Y or includes ada:Depends
-dbg: Depends on -lib (=binaryversion) or includes ada:Depends
-dbg: Suggests gnat
-doc/-bin if available Suggests: gnat

Remove the ada:Recommends substitution variable for -dbg. Defining it
was an error (section 5.2.4), but removing it will need a (trivial)
modification in dependencies.

--
Prospective

See if library_symbol_policy in the project can be used to generate a
list of symbol versions in the Debian way.

Upload Debian tags for libraries with debtags --upload? Some tags can
be automatically deduced.

Once directories.gpr is correctly defined, parse it the
to know were things must be installed.
The real problem will be to detect arch-dependent sources/projects.

Ignoring Library_Version has its counterparts (gtkada upstream uses a
unusual soname).

See if the gnatcoll API is more stable than the prj API.