Age | Commit message (Expand) | Author |
2024-10-15 | committer: Fix for inputs that are lists by using object->string....* etc/committer.scm.in (change-commit-message): Use object->string to deal
with more complex dependency specifications.
Change-Id: Ieee39709fd3eb26368df400a9228d77aa97a9d9d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Attila Lendvai |
2024-08-26 | committer: Avoid // in xpath....When using // we assume that the package definition's S-expression is a
nesting of proper lists. This is not guaranteed to be true, because a package
definition may contain alists. By using an explicit path to the field of
interest we avoid recursion through all child nodes, thus avoiding child nodes
that are more likely to contain improper lists.
* etc/committer.scm.in (change-commit-message): Replace // with a path for the
PACKAGE symbol.
Change-Id: Idefaec9f5c3538484432e15a5865a68fc16e7369
| Ricardo Wurmus |
2023-09-24 | etc/committer: Speed up surrounding-sexp....The old surrounding-sexp procedure would read all S-expressions from the
beginning of the file up to the given line number and then return the last
encountered S-expression. This is quite wasteful. Instead we can record all
lines that begin with an S-expression and jump straight to the offset closest
to the desired line number to read the S-expression there.
* etc/committer.scm.in (lines+offsets-with-opening-parens): New procedure.
(surrounding-sexp): Use it.
| Ricardo Wurmus |
2023-09-24 | etc/committer: Avoid reading original files more than once....* etc/committer.scm.in (%original-file-cache): New variable.
(read-original-file): New procedure.
(read-original-file*): New procedure.
(old-sexp): Use it.
| Ricardo Wurmus |
2023-09-24 | etc/committer: Do not record positions when reading from git files....This gives us a slight performance boost.
* etc/committer.scm.in (main): Disable recording of positions.
| Ricardo Wurmus |
2023-09-24 | etc/committer: Do not recompute changes when there are no definitions....* etc/committer.scm.in (main): Reuse previously computed changes if there are
no changes to the number of definitions.
| Ricardo Wurmus |