Nobuyoshi Nakada
3a145066a6
Expand upstream issue numbers to URLs in ChangeLog
2021-09-04 00:26:39 +09:00
Nobuyoshi Nakada
af68112a1b
Add some punctuations as regexp separators to fix commit logs
2021-09-03 23:46:33 +09:00
Nobuyoshi Nakada
b8386f7f7f
Prepend DebugSystem to VCS class only
...
And revert 24e5f1c982
, pepending to
Kernel did not affect the top level methods before 3.0.
2021-07-26 15:44:40 +09:00
Nobuyoshi Nakada
dfff1df95c
vcs.rb: update the given option to VCS.detect by keyword arguments
2021-02-08 23:56:19 +09:00
Nobuyoshi Nakada
a0faad38ce
vcs.rb: added `base_url` keyword option to GIT#export_changelog
2021-02-08 23:56:01 +09:00
Nobuyoshi Nakada
ced09d521c
vcs.rb: improved export_changelog
...
* arguments are optional
* `path` may be passed as a keyword argument
* `nil` or `"-"` path means stdout
2021-02-08 23:45:51 +09:00
Nobuyoshi Nakada
1e2a8f7c94
vcs.rb: fix for baseruby 2.2
2021-01-26 10:30:29 +09:00
Nobuyoshi Nakada
6963e682f8
vcs.rb: support `d` command in log-fix
2021-01-26 10:04:12 +09:00
Nobuyoshi Nakada
a56760b908
vcs.rb: allow log-fix to insert an empty line
2021-01-26 09:58:11 +09:00
Nobuyoshi Nakada
6ef761a515
vcs.rb: continue just with warning if failed to fetch notes
2021-01-23 10:07:49 +09:00
Nobuyoshi Nakada
ccd7b7ab9a
vcs.rb: include commit info in ChangeLog
2021-01-23 10:07:49 +09:00
Nobuyoshi Nakada
3b631d0f73
Support `i` command in log-fix
2021-01-21 01:03:01 +09:00
Nobuyoshi Nakada
ddacff2b41
Follow up on variations of the development start messages [ci skip]
2020-12-25 17:43:23 +09:00
Kazuhiro NISHIYAMA
82489f0242
Show messages around the line when replacing failed in format_changelog
2020-07-10 19:27:11 +09:00
Jeremy Evans
07b2102a88
Remove Ruby <2.2 support from tool/lib/vcs.rb
...
BASERUBY now requires at least Ruby 2.2, so there is no point
trying to support older ruby versions here.
2020-05-28 07:57:29 -07:00
Nobuyoshi Nakada
2b7409a2f2
Specify explicit separator not to be affected by $;
2020-03-08 17:38:37 +09:00
Nobuyoshi Nakada
b68fc08092
Indent ChangeLog contents [ci skip]
...
Separate each entries more obviously as `page-delimiter' works
fine.
2020-02-01 23:26:53 +09:00
Nobuyoshi Nakada
ab35876444
Explicitly set the encoding of ChangeLog file to UTF-8 [ci skip]
2020-02-01 23:10:18 +09:00
Nobuyoshi Nakada
b34f39e860
vcs.rb: Allow to empty a part in commit log
2020-01-12 19:43:59 +09:00
Nobuyoshi Nakada
d254d5563e
vcs.rb: Get rid of Kernel#open
2020-01-09 10:04:22 +09:00
Nobuyoshi Nakada
80d5d220b9
Fix typo in commit logs by log-fix notes
2019-12-23 09:29:05 +09:00
Nobuyoshi Nakada
ed3333f873
make-snapshot: Regexp#match raises on nil now
2019-10-22 21:05:52 +09:00
Nobuyoshi Nakada
b7ae26e2ee
vcs.rb: fix to export git-svn version
...
* Use the given branch name instead of implicit 'HEAD".
* Format like as git-svn when `from` or `to` is SVN revision
number.
2019-10-03 19:07:48 +09:00
Nobuyoshi Nakada
6cad064424
Try to fetch commits notes to the source tree automatically
...
[Bug #16167 ]
2019-09-15 16:23:33 +09:00
Nobuyoshi Nakada
585b15d75d
make-snapshot: no merge commits in ChangeLog
...
Parents commit hashs in logs of merge commits are abbreviated to
necessary length depending on the repositories. Exclude merge
commits from ChangeLog to make it stable.
2019-09-15 11:22:32 +09:00
Nobuyoshi Nakada
df4a4bd88c
make-snapshot: export ChangeLog from srcdir
2019-09-15 11:22:32 +09:00
Nobuyoshi Nakada
e9c7fc7ca9
Continue to export even if no notes/commits
...
Just exporting may not imply exporting ChangeLog which needs
notes/commits. [Bug #16167 ]
2019-09-14 23:50:45 +09:00
Nobuyoshi Nakada
5a6954ba74
Suppress detached head warning
2019-09-08 00:22:24 +09:00
Nobuyoshi Nakada
3fafc549ba
Fix error when checking file modified with git-svn
2019-09-07 11:38:39 +09:00
Nobuyoshi Nakada
5118aa2d58
Use `git describe --contains` for tags
2019-09-07 11:38:38 +09:00
Nobuyoshi Nakada
3890c9eeee
Added more debug outputs from VCS::GIT
2019-09-07 11:38:38 +09:00
Nobuyoshi Nakada
799de9122e
Separated VCS.define_options for common VCS options
2019-09-07 11:38:38 +09:00
Nobuyoshi Nakada
055b441093
VCS::GIT no longer accepts remote repository
2019-09-06 22:15:36 +09:00
Nobuyoshi Nakada
9f59d30daa
Separate VCS::DEBUG_OUT
2019-09-05 00:33:49 +09:00
Nobuyoshi Nakada
542a1ade80
--date=iso-local does not work with old git
2019-09-03 11:33:29 +09:00
Nobuyoshi Nakada
d83ade1db5
Use -z option for git-log
2019-09-03 00:33:02 +09:00
Nobuyoshi Nakada
6a9c5ef186
Extract git commit log as raw format like git-svn for ChangeLog
2019-09-02 23:28:21 +09:00
Nobuyoshi Nakada
fd4aad6d41
Support packaging different branch/tag
2019-09-01 23:22:50 +09:00
Nobuyoshi Nakada
d8260bc872
Fetch commit notes
2019-09-01 23:22:49 +09:00
Nobuyoshi Nakada
ff7c95dfd9
Support git tags
2019-09-01 23:22:49 +09:00
Nobuyoshi Nakada
d7aa1260b6
Remove files/directories for git/github which are committed [ci skip]
2019-08-31 14:45:57 +09:00
Nobuyoshi Nakada
e593d5b31a
Suppress uninitialized instance variable warnings [ci skip]
2019-08-30 11:23:21 +09:00
Nobuyoshi Nakada
55f496c89b
Support revision in git-svn log
2019-08-30 11:23:21 +09:00
Nobuyoshi Nakada
1191049436
Updated comment of VCS#get_revisions [ci skip]
2019-08-30 11:23:21 +09:00
Nobuyoshi Nakada
c9dc569a94
Ensure the last and changed revisions as Integers
2019-08-28 12:32:43 +09:00
Nobuyoshi Nakada
2cd68a38d9
Short revision of SVN should be an Integer
2019-08-27 23:43:41 +09:00
Nobuyoshi Nakada
48f1a38f23
Limit ChangeLog entries
...
Since the previous release date, when the starting message is not
found.
2019-08-26 18:27:17 +09:00
Nobuyoshi Nakada
c775ab5e28
`local_path?` is a class method [ci skip]
2019-08-25 18:27:57 +09:00
Yusuke Endoh
cc6fe15241
tool/lib/vcs.rb: explicitly fail when notes/commits is not available
2019-08-25 16:59:45 +09:00
Kazuhiro NISHIYAMA
1b03d2d76b
Revert workaround
2019-08-25 13:58:30 +09:00