Skip to contentSkip to conversation

ChangeLog is generated from gitlog now.

DISCUSSION Vladimir 'φ-coder/phcoder' Serbinenko 2 participants 5 messages Jan 24, 2015 Kbuild

lore
Share & tools
lore
#0 lore raw

It's generated only on creation of dist archive.
This also has implications to the git commit message format used. Now git commit message follows standard git commit writing rules rather than one-off rules which resulted from CSV->SVN->BZR->Git transitions.

#1 lore raw

В Sat, 24 Jan 2015 17:33:44 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Review

Quoted 13 lines

It's generated only on creation of dist archive.
This also has implications to the git commit message format used. Now git commit message follows standard git commit writing rules rather than one-off rules which resulted from CSV->SVN->BZR->Git transitions.

(quoted diff) +7 -0
+ChangeLog: FORCE
+       if test -d $(top_srcdir)/.git; then \
+               $(gitlog_to_changelog) --srcdir=$(top_srcdir) --since=$(changelog_start_date) > '[email protected]'; \
+               rm -f '$@'; mv '[email protected]' '$@'; \
+       fi
+
+EXTRA_DIST += ChangeLog ChangeLog-2015

This breaks make dist from git checkout, where repository is not available. May be empty ChangeLog should be created by autogen.sh.

#2 lore raw
Quoted 9 lines · Andrei Borzenkov

В Sat, 24 Jan 2015 17:33:44 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Quoted 5 lines

It's generated only on creation of dist archive.
This also has implications to the git commit message format used. Now git commit message follows standard git commit writing rules rather than one-off rules which resulted from CSV->SVN->BZR->Git transitions.

Quoted 12 lines

Review

Quoted 7 lines
(quoted diff) +7 -0
+ChangeLog: FORCE
+       if test -d $(top_srcdir)/.git; then \
+               $(gitlog_to_changelog) --srcdir=$(top_srcdir) --since=$(changelog_start_date) > '[email protected]'; \
+               rm -f '$@'; mv '[email protected]' '$@'; \
+       fi
+
+EXTRA_DIST += ChangeLog ChangeLog-2015

This breaks make dist from git checkout, where repository is not available. May be empty ChangeLog should be created by autogen.sh.

Would this patch fix your issue?

Makefile.am +2 -1
index df0a728..a9f5780 100644
@@ -447,6 +447,8 @@ ChangeLog: FORCE
        if test -d $(top_srcdir)/.git; then \
                $(gitlog_to_changelog) --srcdir=$(top_srcdir)
--since=$(changelog_start_date) > '[email protected]'; \
                rm -f '$@'; mv '[email protected]' '$@'; \
+       else \
+               touch $@; \
        fi
 

EXTRA_DIST += ChangeLog ChangeLog-2015

Quoted 7 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw

В Sat, 24 Jan 2015 19:55:32 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Quoted 10 lines · Andrei Borzenkov
Quoted 9 lines

В Sat, 24 Jan 2015 17:33:44 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Quoted 5 lines

It's generated only on creation of dist archive.
This also has implications to the git commit message format used. Now git commit message follows standard git commit writing rules rather than one-off rules which resulted from CSV->SVN->BZR->Git transitions.

Quoted 11 lines
Quoted 11 lines

Review

Quoted 7 lines
(quoted diff) +7 -0
+ChangeLog: FORCE
+       if test -d $(top_srcdir)/.git; then \
+               $(gitlog_to_changelog) --srcdir=$(top_srcdir) --since=$(changelog_start_date) > '[email protected]'; \
+               rm -f '$@'; mv '[email protected]' '$@'; \
+       fi
+
+EXTRA_DIST += ChangeLog ChangeLog-2015

This breaks make dist from git checkout, where repository is not available. May be empty ChangeLog should be created by autogen.sh.

yes. Thank you!

Quoted 26 lines
Quoted 1 line

Would this patch fix your issue?

Makefile.am +2 -1
index df0a728..a9f5780 100644
@@ -447,6 +447,8 @@ ChangeLog: FORCE
        if test -d $(top_srcdir)/.git; then \
                $(gitlog_to_changelog) --srcdir=$(top_srcdir)
--since=$(changelog_start_date) > '[email protected]'; \
                rm -f '$@'; mv '[email protected]' '$@'; \
+       else \
+               touch $@; \
        fi
 
 EXTRA_DIST += ChangeLog ChangeLog-2015
Quoted 8 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#4 lore raw
Quoted 25 lines · Andrei Borzenkov

В Sat, 24 Jan 2015 19:55:32 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Quoted 10 lines · Andrei Borzenkov
Quoted 9 lines

В Sat, 24 Jan 2015 17:33:44 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> пишет:

Quoted 5 lines

It's generated only on creation of dist archive.
This also has implications to the git commit message format used. Now git commit message follows standard git commit writing rules rather than one-off rules which resulted from CSV->SVN->BZR->Git transitions.

Quoted 11 lines
Quoted 11 lines

Review

Quoted 7 lines
(quoted diff) +7 -0
+ChangeLog: FORCE
+       if test -d $(top_srcdir)/.git; then \
+               $(gitlog_to_changelog) --srcdir=$(top_srcdir) --since=$(changelog_start_date) > '[email protected]'; \
+               rm -f '$@'; mv '[email protected]' '$@'; \
+       fi
+
+EXTRA_DIST += ChangeLog ChangeLog-2015

This breaks make dist from git checkout, where repository is not available. May be empty ChangeLog should be created by autogen.sh.

Quoted 2 lines

yes. Thank you!

committed, thanks.

Quoted 34 lines
Quoted 19 lines
Quoted 1 line

Would this patch fix your issue?

Makefile.am +2 -1
index df0a728..a9f5780 100644
@@ -447,6 +447,8 @@ ChangeLog: FORCE
        if test -d $(top_srcdir)/.git; then \
                $(gitlog_to_changelog) --srcdir=$(top_srcdir)
--since=$(changelog_start_date) > '[email protected]'; \
                rm -f '$@'; mv '[email protected]' '$@'; \
+       else \
+               touch $@; \
        fi
 
 EXTRA_DIST += ChangeLog ChangeLog-2015
Quoted 3 lines
Quoted 7 lines
Quoted 5 lines

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel