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
Nobuyoshi Nakada
b341e98b04
Simplified f13a00f5b4
[ci skip]
2019-08-25 11:38:15 +09:00
Nobuyoshi Nakada
f13a00f5b4
Export all commits as ChangeLog when no starting commit is found [ci skip]
2019-08-25 11:24:53 +09:00
Kazuhiro NISHIYAMA
03ee12a3b8
Add workaround (2nd try)
...
https://rubyci.org/logs/rubyci.s3.amazonaws.com/gentoo/ruby-master/log/20190824T153002Z.fail.html.gz
```
/home/gentoo/chkbuild/tmp/build/20190824T153002Z/ruby/tool/lib/vcs.rb:577:in `export_changelog': cannot find the beginning revision of the branch (RuntimeError)
from ./tool/make-snapshot:353:in `block in package'
from ./tool/make-snapshot:351:in `chdir'
from ./tool/make-snapshot:351:in `package'
from ./tool/make-snapshot:523:in `block in <main>'
from ./tool/make-snapshot:523:in `collect'
from ./tool/make-snapshot:523:in `<main>'
```
2019-08-25 00:50:34 +09:00
Kazuhiro NISHIYAMA
df348310dc
Add workaround for some CIs
...
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-master/log/20190824T093005Z.fail.html.gz
```
branches:
* trunk
remotes/origin/trunk
```
and
```
fatal: Remote branch master not found in upstream origin
```
2019-08-24 23:17:12 +09:00
Kazuhiro NISHIYAMA
97ad7862d5
Add debug print
...
matser branch not found on some CIs
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190824T063005Z.fail.html.gz
```
fatal: Remote branch master not found in upstream origin
```
2019-08-24 16:22:37 +09:00
Nobuyoshi Nakada
75d9fa8b07
Detect VCS from the current directory by default [ci skip]
2019-08-13 12:24:55 +09:00
Nobuyoshi Nakada
0d1af9f942
Push commits notes too [ci skip]
2019-08-13 12:24:40 +09:00
Nobuyoshi Nakada
066a3498c6
Include commits notes in ChangeLog
2019-08-12 19:02:55 +09:00
Nobuyoshi Nakada
47144f91a1
Separate VCS::GIT#upstream
2019-07-30 16:44:29 +09:00
Hiroshi SHIBATA
0a711b0edf
Put vcs .rb to under the lib direcotory.
...
Because it's the common library for tool files.
2019-07-15 09:40:22 +09:00