<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spdxconv/file.go, branch main</title>
<subtitle>Program to convert existing licenses and copyrights into SPDX format.</subtitle>
<id>http://git.kilabit.info/spdxconv/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/spdxconv/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/'/>
<updated>2026-01-15T14:23:48Z</updated>
<entry>
<title>all: allow multiple pattern in match-file-comment</title>
<updated>2026-01-15T14:23:48Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-15T14:15:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=aa7f2df15e91f5c94807247228cf82e18fe03887'/>
<id>urn:sha1:aa7f2df15e91f5c94807247228cf82e18fe03887</id>
<content type='text'>
This makes the configuration more concise where pattern can be split
into multi lines.

While at it, add more pattern to match-file-comment.
</content>
</entry>
<entry>
<title>report: do not return an error if report file does not exist</title>
<updated>2026-01-15T12:21:33Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-15T12:21:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=73252709ac8f73d1be5f9752d5f1dda79a9c85a4'/>
<id>urn:sha1:73252709ac8f73d1be5f9752d5f1dda79a9c85a4</id>
<content type='text'>
When scan running, it will try to load the previous report file to
minimize re-scanning of file that has been applied or detected (regular
or binary).
If the report file does not exist, do not return the error, keep going.
</content>
</entry>
<entry>
<title>all: add group "done" in the report</title>
<updated>2026-01-14T19:05:21Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-14T19:05:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=9a34a0e949a04c4b885314222e46c918a6f9f2dc'/>
<id>urn:sha1:9a34a0e949a04c4b885314222e46c918a6f9f2dc</id>
<content type='text'>
The done group contain list of file that has been processed.
File from group regular and binary that has been modified or added with
SPDX format will be moved to here.
</content>
</entry>
<entry>
<title>file: change the flag for grouping to use int instead of bool</title>
<updated>2026-01-14T18:00:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-14T18:00:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=56f2fb3751f73ec7bc04f19a7bb36587340de298'/>
<id>urn:sha1:56f2fb3751f73ec7bc04f19a7bb36587340de298</id>
<content type='text'>
Previously, we use two boolean fields to flag a file as binary and
unknown.
In order to simplify it in the future we change it to int.
</content>
</entry>
<entry>
<title>all: handle binary file in post-scan</title>
<updated>2026-01-14T13:44:06Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-14T13:44:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=8da1336917c763da16bc6466928c796f269548e8'/>
<id>urn:sha1:8da1336917c763da16bc6466928c796f269548e8</id>
<content type='text'>
File that match with match-file-pattern but without prefix and suffix
will be marked as binary.
</content>
</entry>
<entry>
<title>match_file_comment: do not add space on prefix and suffix</title>
<updated>2026-01-14T10:00:11Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-14T09:07:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=5321f51af46535f31c79d22c70350035b6e0d173'/>
<id>urn:sha1:5321f51af46535f31c79d22c70350035b6e0d173</id>
<content type='text'>
The space should be added only when generating the SPDX lines.
In the spdxconv.report, it should print the prefix and suffix as in
match-file-comment.
</content>
</entry>
<entry>
<title>all: fix error when scanning and apply empty file</title>
<updated>2026-01-13T21:40:19Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-13T21:40:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=b37a4cd18827d6a8dafe2729ba72a8e13e8fbb8c'/>
<id>urn:sha1:b37a4cd18827d6a8dafe2729ba72a8e13e8fbb8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: get the copyright year from git history</title>
<updated>2026-01-13T21:10:44Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-13T14:08:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=a2bfa5ec9539f9063e33519e245ae00193783750'/>
<id>urn:sha1:a2bfa5ec9539f9063e33519e245ae00193783750</id>
<content type='text'>
If the line that match with pattern on match-copyright does not contains
year, or there is no match, try to get the year from the first commit of
the file using "git log --follow ..." command.

If no commit history or its not using git, use default copyright year from
configuration.
</content>
</entry>
<entry>
<title>all: split the delete_line_pattern into before and after</title>
<updated>2026-01-12T18:45:18Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-12T18:44:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=434139fe3918fdb56704558301ad9275f1da06ad'/>
<id>urn:sha1:434139fe3918fdb56704558301ad9275f1da06ad</id>
<content type='text'>
While at it, also add configuration for delete line before and after
for match-copyright section.
</content>
</entry>
<entry>
<title>all: fix default regex match license and copyright to ignore comment</title>
<updated>2026-01-12T16:01:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-12T16:01:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/spdxconv/commit/?id=e16e2a4ec74443aa8f4c21a73ee837cb72ed46fb'/>
<id>urn:sha1:e16e2a4ec74443aa8f4c21a73ee837cb72ed46fb</id>
<content type='text'>
Instead of assuming that the comment prefix and space always exists

  "^(//)\s+..."

change it to be optional, so it will works on the multi-line comment.
For example, comment and old headers in html,

  &lt;--
  Copyright ...
  --&gt;

there is no comment prefix and space.
</content>
</entry>
</feed>
