Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply zone offset to the last modified time | Nobuyoshi Nakada | 2023-02-13 | 1 | -0/+1 |
| | |||||
* | vcs.rb: do not reference the constant before assignment | Nobuyoshi Nakada | 2022-11-01 | 1 | -3/+3 |
| | |||||
* | vcs.rb: copy safe directory configuration | Nobuyoshi Nakada | 2022-10-30 | 1 | -5/+42 |
| | | | | | | | Now revision.tmp will be regenerated always and every times, even if the recent file exists in the source directory, as far as using git. On the other hand, VirtualBox mounts shared folders as root, and git rejects the repository there as dubious ownership. | ||||
* | vcs.rb: prettify debug print | Nobuyoshi Nakada | 2022-10-30 | 1 | -10/+27 |
| | |||||
* | Add `--zone` option to `VCS` | Nobuyoshi Nakada | 2022-09-30 | 1 | -1/+3 |
| | | | | Which controls the timezone offset for `RUBY_RELEASE_DATE`. | ||||
* | Introduce `VCS::Null` for fallback | Nobuyoshi Nakada | 2022-09-30 | 1 | -2/+13 |
| | |||||
* | Check for the availability of the command when detecting | Nobuyoshi Nakada | 2022-09-30 | 1 | -0/+3 |
| | |||||
* | Pull up `VCS.short_revision` from `VCS::SVN` | Nobuyoshi Nakada | 2022-09-30 | 1 | -4/+4 |
| | |||||
* | Remove git command existence check again | Takashi Kokubun | 2022-09-17 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | With 33c6dd2cc89c27bbf406508ec39038a181fb99bc, it's no longer necessary. This is what I got on openbsd-current: ``` -bash-5.1$ git -v unknown option: -v usage: git [--version] [--help] [-C <path>] [-c <name>=<value>] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] [--super-prefix=<path>] [--config-env=<name>=<envvar>] <command> [<args>] -bash-5.1$ git version git version 2.35.1 ``` | ||||
* | Fallback to VCS.release_date on VCS::NotFoundError | Takashi Kokubun | 2022-09-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | when -q is given. One of the RubyCI servers, freebsd12, had a broken git environment: ``` $ git show fatal: detected dubious ownership in repository at '/usr/home/chkbuild/chkbuild/tmp/build/20220917T123002Z/ruby' To add an exception for this directory, call: git config --global --add safe.directory /usr/home/chkbuild/chkbuild/tmp/build/20220917T123002Z/ruby ``` tool/lib/vcs.rb doesn't work normally for that server. Even for such cases, we'd like to generate a usable revision.h. So this patch lets revision.h fallback to default VCS.release_date when VCS::NotFoundError is raised. | ||||
* | Auto-generate the release date on version.h from git CommitDate (#6382) | Takashi Kokubun | 2022-09-17 | 1 | -4/+18 |
| | | | | | | | * Auto-generate the release date on version.h from git CommitDate * Generate revision.h on mswin | ||||
* | Replace "Fixes"/"Fixed" in commit logs as well as vcs.rb [ci skip] | Nobuyoshi Nakada | 2022-09-14 | 1 | -1/+1 |
| | | | | | Use the same regexp to replace "(#NNNN)" and "GH-NNNN" style references in vcs.rb, too. | ||||
* | VCS#revision_header: Make arguments optional | Nobuyoshi Nakada | 2022-09-01 | 1 | -2/+2 |
| | |||||
* | Update revision.h in packages using `VCS#revision_header` | Nobuyoshi Nakada | 2022-09-01 | 1 | -2/+2 |
| | |||||
* | Extract `VCS#revision_header` | Nobuyoshi Nakada | 2022-09-01 | 1 | -0/+28 |
| | |||||
* | vcs.rb: ignore configuration files get rid of aliases [ci skip] | Nobuyoshi Nakada | 2022-06-22 | 1 | -2/+5 |
| | |||||
* | vcs.rb: just one log to check if `--date` option works [ci skip] | Nobuyoshi Nakada | 2022-06-22 | 1 | -1/+1 |
| | |||||
* | vcs.rb: show diagnostic/progressing messages when debugging [ci skip] | Nobuyoshi Nakada | 2022-06-22 | 1 | -1/+1 |
| | |||||
* | Expand upstream issue numbers to URLs in ChangeLog | Nobuyoshi Nakada | 2021-09-04 | 1 | -0/+6 |
| | |||||
* | Add some punctuations as regexp separators to fix commit logs | Nobuyoshi Nakada | 2021-09-03 | 1 | -7/+12 |
| | |||||
* | Prepend DebugSystem to VCS class only | Nobuyoshi Nakada | 2021-07-26 | 1 | -3/+0 |
| | | | | | And revert 24e5f1c982966c379220b1bbb26b4e0320180fa1, pepending to Kernel did not affect the top level methods before 3.0. | ||||
* | vcs.rb: update the given option to VCS.detect by keyword arguments | Nobuyoshi Nakada | 2021-02-08 | 1 | -1/+2 |
| | |||||
* | vcs.rb: added `base_url` keyword option to GIT#export_changelog | Nobuyoshi Nakada | 2021-02-08 | 1 | -3/+14 |
| | |||||
* | vcs.rb: improved export_changelog | Nobuyoshi Nakada | 2021-02-08 | 1 | -7/+13 |
| | | | | | | * arguments are optional * `path` may be passed as a keyword argument * `nil` or `"-"` path means stdout | ||||
* | vcs.rb: fix for baseruby 2.2 | Nobuyoshi Nakada | 2021-01-26 | 1 | -1/+2 |
| | |||||
* | vcs.rb: support `d` command in log-fix | Nobuyoshi Nakada | 2021-01-26 | 1 | -0/+3 |
| | |||||
* | vcs.rb: allow log-fix to insert an empty line | Nobuyoshi Nakada | 2021-01-26 | 1 | -1/+1 |
| | |||||
* | vcs.rb: continue just with warning if failed to fetch notes | Nobuyoshi Nakada | 2021-01-23 | 1 | -4/+5 |
| | |||||
* | vcs.rb: include commit info in ChangeLog | Nobuyoshi Nakada | 2021-01-23 | 1 | -2/+2 |
| | |||||
* | Support `i` command in log-fix | Nobuyoshi Nakada | 2021-01-21 | 1 | -1/+4 |
| | |||||
* | Follow up on variations of the development start messages [ci skip] | Nobuyoshi Nakada | 2020-12-25 | 1 | -1/+1 |
| | |||||
* | Show messages around the line when replacing failed in format_changelog | Kazuhiro NISHIYAMA | 2020-07-10 | 1 | -1/+13 |
| | |||||
* | Remove Ruby <2.2 support from tool/lib/vcs.rb | Jeremy Evans | 2020-05-28 | 1 | -93/+27 |
| | | | | | BASERUBY now requires at least Ruby 2.2, so there is no point trying to support older ruby versions here. | ||||
* | Specify explicit separator not to be affected by $; | Nobuyoshi Nakada | 2020-03-08 | 1 | -1/+1 |
| | |||||
* | Indent ChangeLog contents [ci skip] | Nobuyoshi Nakada | 2020-02-01 | 1 | -3/+5 |
| | | | | | Separate each entries more obviously as `page-delimiter' works fine. | ||||
* | Explicitly set the encoding of ChangeLog file to UTF-8 [ci skip] | Nobuyoshi Nakada | 2020-02-01 | 1 | -0/+1 |
| | |||||
* | vcs.rb: Allow to empty a part in commit log | Nobuyoshi Nakada | 2020-01-12 | 1 | -1/+1 |
| | |||||
* | vcs.rb: Get rid of Kernel#open | Nobuyoshi Nakada | 2020-01-09 | 1 | -4/+2 |
| | |||||
* | Fix typo in commit logs by log-fix notes | Nobuyoshi Nakada | 2019-12-23 | 1 | -2/+22 |
| | |||||
* | make-snapshot: Regexp#match raises on nil now | Nobuyoshi Nakada | 2019-10-22 | 1 | -1/+1 |
| | |||||
* | vcs.rb: fix to export git-svn version | Nobuyoshi Nakada | 2019-10-03 | 1 | -26/+32 |
| | | | | | | * Use the given branch name instead of implicit 'HEAD". * Format like as git-svn when `from` or `to` is SVN revision number. | ||||
* | Try to fetch commits notes to the source tree automatically | Nobuyoshi Nakada | 2019-09-15 | 1 | -4/+3 |
| | | | | [Bug #16167] | ||||
* | make-snapshot: no merge commits in ChangeLog | Nobuyoshi Nakada | 2019-09-15 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | make-snapshot: export ChangeLog from srcdir | Nobuyoshi Nakada | 2019-09-15 | 1 | -3/+0 |
| | |||||
* | Continue to export even if no notes/commits | Nobuyoshi Nakada | 2019-09-14 | 1 | -1/+3 |
| | | | | | Just exporting may not imply exporting ChangeLog which needs notes/commits. [Bug #16167] | ||||
* | Suppress detached head warning | Nobuyoshi Nakada | 2019-09-08 | 1 | -1/+1 |
| | |||||
* | Fix error when checking file modified with git-svn | Nobuyoshi Nakada | 2019-09-07 | 1 | -1/+2 |
| | |||||
* | Use `git describe --contains` for tags | Nobuyoshi Nakada | 2019-09-07 | 1 | -1/+1 |
| | |||||
* | Added more debug outputs from VCS::GIT | Nobuyoshi Nakada | 2019-09-07 | 1 | -1/+4 |
| | |||||
* | Separated VCS.define_options for common VCS options | Nobuyoshi Nakada | 2019-09-07 | 1 | -17/+16 |
| |