Email or username:

Password:

Forgot your password?
Top-level
Vivien the Trumpeting Elephant

@civodul @jas4711 A somewhat relevant example is how the NEWS file is checked, but there are other examples.

As for “and distributions could package the gnulib git repository (up to some current version)”, I’m not sure it would be easy, because git allows itself to re-pack its objects whenever it wants, so further steps may be needed for the content of the .git repository to remain reproducible over time.

7 comments
Vivien the Trumpeting Elephant

@civodul @jas4711

Finally, I think we should not forget that the modification time of the .texi file impacts the modification date that is printed in the final output of the manual. Setting it to 1970 is awkward in this case.

Simon Josefsson

@gugurumbe @civodul Having modtime influence PDF output seems bad - can’t we use a @DATE@ macro set at ./configure-time that the .texi file @include? It should probably the time of the last commit to the project.

Vivien the Trumpeting Elephant

@jas4711 @civodul I think you have to look through the git log to find the latest commit that affected the manual in a non-trivial way, because the last-modified date can also be used to detect documentation drift.

Vivien the Trumpeting Elephant

@jas4711 @civodul Another option I considered to avoid the dependency on git is to have another syntax-check that would check that you also changed the modification date of the manual in the most recent commit that modified it. It’s harmless to skip this check if you have a shallow clone of the repository or not have git installed.

Simon Josefsson

@gugurumbe @civodul How does .git content changing break ability to include the entire git repository in Debian’s gnulib package?

Vivien the Trumpeting Elephant

@jas4711 @civodul It would be difficult to consider the .git repository as source code, if it’s just a big bunch of binary blobs that can change for unclear reasons.

Simon Josefsson

@gugurumbe @civodul binary blobs that can change for any reason sounds awfully similar to other binary packages in Debian.

Go Up