commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2020-03-07 21:41:29 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.26092 (New) Package is "hub" Sat Mar 7 21:41:29 2020 rev:11 rq:782298 version:2.14.2 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2020-01-22 22:46:23.864579461 +0100 +++ /work/SRC/openSUSE:Factory/.hub.new.26092/hub.changes 2020-03-07 21:41:38.708410160 +0100 @@ -1,0 +2,10 @@ +Fri Mar 6 18:58:55 UTC 2020 - Martin Hauke + +- Update to version 2.14.2 + * Ensure man pages are shown at full width + * Fix subject in ci-status docs + * Indicate in docs that you can do plain git push after hub pr +checkout + * Fix using hub inside git worktree + +--- Old: hub-2.14.1.tar.gz New: hub-2.14.2.tar.gz Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.zct0s3/_old 2020-03-07 21:41:39.728410849 +0100 +++ /var/tmp/diff_new_pack.zct0s3/_new 2020-03-07 21:41:39.732410852 +0100 @@ -1,7 +1,7 @@ # # spec file for package hub # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define ver %{version} Name: hub -Version:2.14.1 +Version:2.14.2 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT ++ hub-2.14.1.tar.gz -> hub-2.14.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.14.1/.github/workflows/ci.yml new/hub-2.14.2/.github/workflows/ci.yml --- old/hub-2.14.1/.github/workflows/ci.yml 2020-01-21 15:28:56.0 +0100 +++ new/hub-2.14.2/.github/workflows/ci.yml 2020-03-05 18:48:23.0 +0100 @@ -8,7 +8,7 @@ strategy: fail-fast: false matrix: -go: [ '1.9', '1.10', '1.11', '1.12', '1.13' ] +go: [ '1.11', '1.12', '1.13', '1.14' ] steps: - uses: actions/checkout@v1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.14.1/.github/workflows/release.yml new/hub-2.14.2/.github/workflows/release.yml --- old/hub-2.14.1/.github/workflows/release.yml2020-01-21 15:28:56.0 +0100 +++ new/hub-2.14.2/.github/workflows/release.yml2020-03-05 18:48:23.0 +0100 @@ -28,3 +28,4 @@ formula-name: hub env: COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} +GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.14.1/Makefile new/hub-2.14.2/Makefile --- old/hub-2.14.1/Makefile 2020-01-21 15:28:56.0 +0100 +++ new/hub-2.14.2/Makefile 2020-03-05 18:48:23.0 +0100 @@ -1,17 +1,16 @@ -SOURCES = $(shell script/build files) +SOURCES = $(shell go list -f '{{range .GoFiles}}{{$$.Dir}}/{{.}}\ +{{end}}' ./...) SOURCE_DATE_EPOCH ?= $(shell date +%s) BUILD_DATE = $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" '+%d %b %Y' 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" '+%d %b %Y') HUB_VERSION = $(shell bin/hub version | tail -1) -FLAGS_ALL = $(shell go version | grep -q 'go1.[89]' || echo 'all=') -export GOFLAGS := $(shell go version | grep -q 'go1.1[^0]' && echo '-mod=vendor') -export LDFLAGS := -extldflags '$(LDFLAGS)' -export GCFLAGS := $(FLAGS_ALL)-trimpath '$(PWD)' -export ASMFLAGS := $(FLAGS_ALL)-trimpath '$(PWD)' -ifneq ($(GOFLAGS),) - export GO111MODULE=on - unexport GOPATH -endif +export GOFLAGS := -mod=vendor +export GO111MODULE=on +unexport GOPATH + +export LDFLAGS := -extldflags '$(LDFLAGS)' +export GCFLAGS := all=-trimpath '$(PWD)' +export ASMFLAGS := all=-trimpath '$(PWD)' MIN_COVERAGE = 90.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.14.1/README.md new/hub-2.14.2/README.md --- old/hub-2.14.1/README.md2020-01-21 15:28:56.0 +0100 +++ new/hub-2.14.2/README.md2020-03-05 18:48:23.0 +0100 @@ -10,19 +10,23 @@ ``` sh $ hub clone rtomayko/tilt - -# expands to: #=> git clone git://github.com/rtomayko/tilt.git + +# if you prefer HTTPS to git/SSH protocols: +$ git config --global hub.protocol https +$ hub clone rtomayko/tilt +#=> git clone https://github.com/rtomayko/tilt.git ``` -hub can be safely [aliased](#aliasing) as `git` so you can type `$ git -` in the shell and get all the usual `hub` features. +See [usage examples](https://hub.
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2020-01-22 22:46:10 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.26092 (New) Package is "hub" Wed Jan 22 22:46:10 2020 rev:10 rq:766299 version:2.14.1 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2019-10-08 19:57:39.816245413 +0200 +++ /work/SRC/openSUSE:Factory/.hub.new.26092/hub.changes 2020-01-22 22:46:23.864579461 +0100 @@ -1,0 +2,39 @@ +Wed Jan 22 11:19:39 UTC 2020 - Martin Hauke + +- Update to version 2.14.1 + Features: + * New command: hub issue update + * New command: hub issue transfer + * Support git flag hub version --build-options + * Refuse to follow HTTP 301/302 redirects for non-GET requests + Fixes: + * Ensure that grep command is being used in shell completions + * Consult global git config color.ui setting when --color=auto + Improvements: + * Print more user-friendly HTTP 40x errors + * Enable debugging file uploads via HUB_VERBOSE=1 hub release +create -a + * Improve parsing malformed YAML config files + +- Update to version 2.13.0 + * New command: hub gist + * Add git pr show --format=... flag + * Add hub api --obey-ratelimit flag + * hub help: support compressed man pages + * Add hub release download --include=PATTERN flag + * hub help: Enable hub help --web + * hub release: Retry attaching release assets on 5xx server +errors + * hub pr checkout fixes ++ handle case when the PR given matches the current branch ++ avoid overriding existing branch merge config + * hub release: Fail fast when attempting to attach unavailable +files + * Honor HTTPS_PROXY, NO_PROXY environment variables + * Strip "co-authored-by" lines when populating PR body from git +log + * git compatibility: have hub --help open the man page + * hub fork bash completion improvements + * hub pr fish completion improvements + +--- Old: hub-2.12.8.tar.gz New: hub-2.14.1.tar.gz Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.FJ23OG/_old 2020-01-22 22:46:24.908579986 +0100 +++ /var/tmp/diff_new_pack.FJ23OG/_new 2020-01-22 22:46:24.93257 +0100 @@ -1,7 +1,7 @@ # # spec file for package hub # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define ver %{version} Name: hub -Version:2.12.8 +Version:2.14.1 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT @@ -64,6 +64,8 @@ install -d %{buildroot}%{_datadir}/vim/site mv %{buildroot}%{_datadir}/vim/vimfiles/* %{buildroot}%{_datadir}/vim/site +rm -rf %{buildroot}%{_datadir}/doc/hub-doc/ + %check #make test #make test-all ++ hub-2.12.8.tar.gz -> hub-2.14.1.tar.gz ++ 45427 lines of diff (skipped)
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2019-10-08 19:57:38 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.2352 (New) Package is "hub" Tue Oct 8 19:57:38 2019 rev:9 rq:735826 version:2.12.8 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2019-09-23 12:39:55.385585228 +0200 +++ /work/SRC/openSUSE:Factory/.hub.new.2352/hub.changes2019-10-08 19:57:39.816245413 +0200 @@ -1,0 +2,9 @@ +Sat Oct 5 20:52:32 UTC 2019 - Martin Hauke + +- Update to version 2.12.8 + * hub compare: improve upstream branch detection & error messages + * hub compare: allow slash character in branch names + * hub api: fix GraphQL requests made to Enterprise hosts + * Docs: clarify --message, --file, and --edit flags + +--- Old: hub-2.12.6.tar.gz New: hub-2.12.8.tar.gz Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.HbXscn/_old 2019-10-08 19:57:40.400243664 +0200 +++ /var/tmp/diff_new_pack.HbXscn/_new 2019-10-08 19:57:40.400243664 +0200 @@ -18,7 +18,7 @@ %define ver %{version} Name: hub -Version:2.12.6 +Version:2.12.8 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT ++ hub-2.12.6.tar.gz -> hub-2.12.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.12.6/.travis.yml new/hub-2.12.8/.travis.yml --- old/hub-2.12.6/.travis.yml 2019-09-21 17:30:41.0 +0200 +++ new/hub-2.12.8/.travis.yml 2019-10-03 02:46:27.0 +0200 @@ -5,6 +5,7 @@ - export PATH=~/bin:"$PATH" language: go go: + - 1.13.x - 1.12.x - 1.11.x - 1.10.x diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.12.6/Makefile new/hub-2.12.8/Makefile --- old/hub-2.12.6/Makefile 2019-09-21 17:30:41.0 +0200 +++ new/hub-2.12.8/Makefile 2019-10-03 02:46:27.0 +0200 @@ -3,12 +3,12 @@ BUILD_DATE = $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" '+%d %b %Y' 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" '+%d %b %Y') HUB_VERSION = $(shell bin/hub version | tail -1) FLAGS_ALL = $(shell go version | grep -q 'go1.[89]' || echo 'all=') -export MOD_VENDOR_ARG := $(shell go version | grep -q 'go1.1[^01]' && echo '-mod=vendor') +export GOFLAGS := $(shell go version | grep -q 'go1.1[^0]' && echo '-mod=vendor') export LDFLAGS := -extldflags '$(LDFLAGS)' export GCFLAGS := $(FLAGS_ALL)-trimpath '$(PWD)' export ASMFLAGS := $(FLAGS_ALL)-trimpath '$(PWD)' -ifneq ($(MOD_VENDOR_ARG),) +ifneq ($(GOFLAGS),) export GO111MODULE=on unexport GOPATH endif @@ -52,7 +52,7 @@ script/build -o $@ bin/md2roff: $(SOURCES) - go build $(MOD_VENDOR_ARG) -o $@ github.com/github/hub/md2roff-bin + go build -o $@ github.com/github/hub/md2roff-bin test: go test ./... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.12.6/commands/compare.go new/hub-2.12.8/commands/compare.go --- old/hub-2.12.6/commands/compare.go 2019-09-21 17:30:41.0 +0200 +++ new/hub-2.12.8/commands/compare.go 2019-10-03 02:46:27.0 +0200 @@ -13,8 +13,8 @@ var cmdCompare = &Command{ Run: compare, Usage: ` -compare [-uc] [] [[...]] compare [-uc] [-b ] +compare [-uc] [] [...] `, Long: `Open a GitHub compare page in a web browser. @@ -28,22 +28,31 @@ -b, --base Base branch to compare against in case no explicit arguments were given. - [...] + [...] Branch names, tag names, or commit SHAs specifying the range to compare. -defaults to the current branch name. - If a range with two dots ('A..B') is given, it will be transformed into a range with three dots. + The portion defaults to the default branch of the repository. + + The argument defaults to the current branch. If the current branch + is not pushed to a remote, the command will error. + + + Optionally specify the owner of the repository for the compare page URL. + ## Examples: + $ hub compare + > open https://github.com/OWNER/REPO/compare/BRANCH + $ hub compare refactor - > open https://github.com/USER/REPO/compare/refactor + > open https://github.com/OWNER/REPO/compare/refactor $ hub compare v1.0..v1.1 - > open https://github.com/USER/REPO/compare/v1.0...v1.1 +
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2019-09-23 12:39:34 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.7948 (New) Package is "hub" Mon Sep 23 12:39:34 2019 rev:8 rq:732500 version:2.12.6 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2019-09-09 12:39:33.929431277 +0200 +++ /work/SRC/openSUSE:Factory/.hub.new.7948/hub.changes2019-09-23 12:39:55.385585228 +0200 @@ -1,0 +2,7 @@ +Sat Sep 21 19:50:01 UTC 2019 - Martin Hauke + +- Update to version 2.12.6 + * Added hub pr to fish completions script + * Have fish completions script wrap git if hub is aliased + +--- Old: hub-2.12.4.tar.gz New: hub-2.12.6.tar.gz Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.ow4OTS/_old 2019-09-23 12:39:55.725585171 +0200 +++ /var/tmp/diff_new_pack.ow4OTS/_new 2019-09-23 12:39:55.729585171 +0200 @@ -18,7 +18,7 @@ %define ver %{version} Name: hub -Version:2.12.4 +Version:2.12.6 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT ++ hub-2.12.4.tar.gz -> hub-2.12.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.12.4/etc/hub.fish_completion new/hub-2.12.6/etc/hub.fish_completion --- old/hub-2.12.4/etc/hub.fish_completion 2019-09-06 23:00:06.0 +0200 +++ new/hub-2.12.6/etc/hub.fish_completion 2019-09-21 17:30:41.0 +0200 @@ -1,3 +1,5 @@ +complete -c hub --wraps git + function __fish_hub_needs_command set cmd (commandline -opc) if [ (count $cmd) -eq 1 ] @@ -9,12 +11,17 @@ function __fish_hub_using_command set cmd (commandline -opc) - if [ (count $cmd) -gt 1 ] -if [ $argv[1] = $cmd[2] ] - return 0 + set subcmd_count (count $argv) + if [ (count $cmd) -gt "$subcmd_count" ] +for i in (seq 1 "$subcmd_count") + if [ "$argv[$i]" != $cmd[(math "$i" + 1)] ] +return 1 + end end +return 0 + else +return 1 end - return 1 end complete -f -c hub -n '__fish_hub_needs_command' -a alias -d "show shell instructions for wrapping git" @@ -24,7 +31,7 @@ complete -f -c hub -n '__fish_hub_needs_command' -a delete -d "delete a GitHub repo" complete -f -c hub -n '__fish_hub_needs_command' -a fork -d "fork origin repo on GitHub" complete -f -c hub -n '__fish_hub_needs_command' -a pull-request -d "open a pull request on GitHub" -complete -f -c hub -n '__fish_hub_needs_command' -a pr -d "list or checkout a GitHub release" +complete -f -c hub -n '__fish_hub_needs_command' -a pr -d "list or checkout GitHub pull requests" complete -f -c hub -n '__fish_hub_needs_command' -a issue -d "list or create a GitHub issue" complete -f -c hub -n '__fish_hub_needs_command' -a release -d "list or create a GitHub release" complete -f -c hub -n '__fish_hub_needs_command' -a ci-status -d "display GitHub Status information for a commit" @@ -44,6 +51,19 @@ complete -f -c hub -n ' __fish_hub_using_command pull-request' -s a -d 'A comma-separated list of GitHub handles to assign to this pull request' complete -f -c hub -n ' __fish_hub_using_command pull-request' -s M -d "The milestone name to add to this pull request. Passing the milestone number is deprecated." complete -f -c hub -n ' __fish_hub_using_command pull-request' -s l -d "Add a comma-separated list of labels to this pull request" +# pr +complete -f -c hub -n ' __fish_hub_using_command pr' -l color -xa 'always never auto' -d 'enable colored output even if stdout is not a terminal. WHEN can be one of "always" (default for --color), "never", or "auto" (default).' +## pr list +complete -f -c hub -n ' __fish_hub_using_command pr' -a list -d "list pull requests in the current repository" +complete -f -c hub -n ' __fish_hub_using_command pr list' -s s -l state -xa 'open closed merged all' -d 'filter pull requests by STATE. default: open' +complete -f -c hub -n ' __fish_hub_using_command pr list' -s h -l head -d 'show pull requests started from the specified head BRANCH in "[OWNER:]BRANCH" format' +complete -f -c hub -n ' __fish_hub_using_command pr list' -s b -l base -d 'show pull requests based off the specified BRANCH' +complete -f -c hub -n ' __fish_hub_using_command pr list' -s o -l sort -xa 'created updated popularity long-running' -d 'default: created' +complete -f -c hub -n ' __fish_hub_using_command pr list' -s '^' -l sort-ascending -d 'sort by ascending dates instead of descending' +complete -f -c hub -n ' __fish_hub_using_command pr list' -s f -l format -d 'pretty print the
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2019-09-09 12:37:55 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.7948 (New) Package is "hub" Mon Sep 9 12:37:55 2019 rev:7 rq:729344 version:2.12.4 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2019-07-16 08:40:47.723025627 +0200 +++ /work/SRC/openSUSE:Factory/.hub.new.7948/hub.changes2019-09-09 12:39:33.929431277 +0200 @@ -1,0 +2,22 @@ +Sun Sep 8 20:34:12 UTC 2019 - Martin Hauke + + +- Update to version 2.12.4 + Bug fixes: + * Fix invocation of hub --paginate + * Consistently expand all occurrences of {owner} and {repo} in +hub api + * Docs: unlist %NC/%Nc among available fields in +hub pr list --format + Enhancements: + * GitHub Actions compatibility: infer GITHUB_USER value from +GITHUB_REPOSITORY if available + * Handle TERM signal during password prompt in terminal + * Use consistent quote style in hub sync output + +- Update to version 2.12.3 + * Allow hub use within GitHub Actions by specifying GITHUB_USER + * Show friendlier error message when GITHUB_TOKEN is set, but +fetching the current user fails + +--- Old: v2.12.2.tar.gz New: hub-2.12.4.tar.gz Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.YPM8bb/_old 2019-09-09 12:39:34.421431196 +0200 +++ /var/tmp/diff_new_pack.YPM8bb/_new 2019-09-09 12:39:34.421431196 +0200 @@ -18,13 +18,13 @@ %define ver %{version} Name: hub -Version:2.12.2 +Version:2.12.4 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT Group: Development/Tools/Version Control URL:https://github.com/github/hub -Source: https://github.com/github/%{name}/archive/v%{ver}.tar.gz +Source: https://github.com/github/%{name}/archive/v%{ver}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: fish BuildRequires: go BuildRequires: groff
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2019-07-16 08:40:39 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.1887 (New) Package is "hub" Tue Jul 16 08:40:39 2019 rev:6 rq:714979 version:2.12.2 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2019-04-11 12:16:39.128915798 +0200 +++ /work/SRC/openSUSE:Factory/.hub.new.1887/hub.changes2019-07-16 08:40:47.723025627 +0200 @@ -1,0 +2,33 @@ +Fri Jul 12 19:26:57 UTC 2019 - Martin Hauke + +- Update to version 2.12.2 + * Improve pull-request push target detection for git config +push.default is "upstream", but when the current branch does +not have upstream configuration +- Update to version 2.12.1 + Fixes: + * hub pull-request: Avoid crash when the current branch is pushed +to a non-GitHub remote BROWSER environment variable now supports +values with spaces in them (must be shell-quoted) + * hub help: support man appearing in a path that has spaces + * Docs: mention that comma-separated lists must not have spaces +- Update to version 2.12.0 + * Add hub api --paginate option to automatically fetch all pages +of results + * Add hub pr show [] command to open a pull request in +the browser + * Add hub pull-request --no-maintainer-edits flag to disallow +project maintainers being able to push to your branch + * Abort hub pull-request with a helpful error message if the +current branch wasn't pushed to a git remote hub issue -M now +accepts milestone names instead of just numbers + * Drop support for legacy hub.http-clone git config value (this +was broken for a while and nobody complained, so I deemed it +safe to drop in a minor rather than a major release) + Fixes + * Fix querying git configuration when GIT_TRACE is used + * Support detached HEAD if hub pull-request --head was passed + * Fix newline in hub create error message + * Ensure HTTP connection reuse across API calls + +--- Old: v2.11.1.tar.gz New: v2.12.2.tar.gz Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.Bq9Ibp/_old 2019-07-16 08:40:48.759025974 +0200 +++ /var/tmp/diff_new_pack.Bq9Ibp/_new 2019-07-16 08:40:48.763025975 +0200 @@ -18,7 +18,7 @@ %define ver %{version} Name: hub -Version:2.11.1 +Version:2.12.2 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT ++ v2.11.1.tar.gz -> v2.12.2.tar.gz ++ 149716 lines of diff (skipped)
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2019-04-11 12:16:32 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.27019 (New) Package is "hub" Thu Apr 11 12:16:32 2019 rev:5 rq:692925 version:2.11.1 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2019-03-28 22:49:02.243050929 +0100 +++ /work/SRC/openSUSE:Factory/.hub.new.27019/hub.changes 2019-04-11 12:16:39.128915798 +0200 @@ -1,0 +2,11 @@ +Sat Mar 30 10:10:13 UTC 2019 - Martin Hauke + +- Update to version 2.11.1 + * Fix non-draft pull requests for certain repositories +- Update to version 2.11.0 + * Create draft pull requests with hub pull-request --draft +Draft pull requests are considered work in progress: they don't +automatically request others for review and they are not +mergeable while in their draft state. + +--- Old: v2.10.1.tar.gz New: v2.11.1.tar.gz Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.PKq2pE/_old 2019-04-11 12:16:41.120916803 +0200 +++ /var/tmp/diff_new_pack.PKq2pE/_new 2019-04-11 12:16:41.124916805 +0200 @@ -18,7 +18,7 @@ %define ver %{version} Name: hub -Version:2.10.1 +Version:2.11.1 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT ++ v2.10.1.tar.gz -> v2.11.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.1/.agignore new/hub-2.11.1/.agignore --- old/hub-2.10.1/.agignore2019-03-27 22:37:12.0 +0100 +++ new/hub-2.11.1/.agignore1970-01-01 01:00:00.0 +0100 @@ -1,5 +0,0 @@ -./tags -site/* -tmp/* -vendor/* -bundle/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.1/commands/issue.go new/hub-2.11.1/commands/issue.go --- old/hub-2.10.1/commands/issue.go2019-03-27 22:37:12.0 +0100 +++ new/hub-2.11.1/commands/issue.go2019-03-29 12:33:51.0 +0100 @@ -313,16 +313,13 @@ var labelStrings []string var rawLabels []string for _, label := range issue.Labels { - if !colorize { - labelStrings = append(labelStrings, fmt.Sprintf(" %s ", label.Name)) - continue - } - color, err := utils.NewColor(label.Color) - if err != nil { + if colorize { + color, err := utils.NewColor(label.Color) utils.Check(err) + labelStrings = append(labelStrings, colorizeLabel(label, color)) + } else { + labelStrings = append(labelStrings, fmt.Sprintf(" %s ", label.Name)) } - - labelStrings = append(labelStrings, colorizeLabel(label, color)) rawLabels = append(rawLabels, label.Name) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.1/commands/pull_request.go new/hub-2.11.1/commands/pull_request.go --- old/hub-2.10.1/commands/pull_request.go 2019-03-27 22:37:12.0 +0100 +++ new/hub-2.11.1/commands/pull_request.go 2019-03-29 12:33:51.0 +0100 @@ -16,7 +16,7 @@ var cmdPullRequest = &Command{ Run: pullRequest, Usage: ` -pull-request [-focp] [-b ] [-h ] [-r ] [-a ] [-M ] [-l ] +pull-request [-focpd] [-b ] [-h ] [-r ] [-a ] [-M ] [-l ] pull-request -m [--edit] pull-request -F [--edit] pull-request -i @@ -86,6 +86,9 @@ -l, --labels Add a comma-separated list of labels to this pull request. Labels will be created if they do not already exist. + + -d, --draft + Create the pull request as a draft. ## Examples: $ hub pull-request @@ -319,6 +322,10 @@ "head": fullHead, } + if args.Flag.Bool("--draft") { + params["draft"] = true + } + if title != "" { params["title"] = title if body != "" { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.1/commands/runner.go new/hub-2.11.1/commands/runner.go --- old/hub-2.10.1/commands/runner.go 2019-03-27 22:37:12.0 +0100 +++ new/hub-2.11.1/commands/runner.go 2019-03-29 12:33:51.0 +0100 @@ -65,7 +65,10 @@ return err } - gitArgs := []string{args.Command} + gitArgs := []string
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2019-03-28 22:48:58 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.25356 (New) Package is "hub" Thu Mar 28 22:48:58 2019 rev:4 rq:689269 version:2.10.1 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2019-03-19 09:57:52.408115467 +0100 +++ /work/SRC/openSUSE:Factory/.hub.new.25356/hub.changes 2019-03-28 22:49:02.243050929 +0100 @@ -1,0 +2,8 @@ +Wed Mar 27 22:40:54 UTC 2019 - Martin Hauke + +- Update to version 2.10.1 + Bugfix release: + * Allow repository names that start with a dash character + * Fix writing over existing cache files + +--- Old: v2.10.0.tar.gz New: v2.10.1.tar.gz Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.8xU71I/_old 2019-03-28 22:49:02.959050799 +0100 +++ /var/tmp/diff_new_pack.8xU71I/_new 2019-03-28 22:49:02.963050799 +0100 @@ -18,7 +18,7 @@ %define ver %{version} Name: hub -Version:2.10.0 +Version:2.10.1 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT ++ v2.10.0.tar.gz -> v2.10.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.0/README.md new/hub-2.10.1/README.md --- old/hub-2.10.0/README.md2019-02-24 10:46:57.0 +0100 +++ new/hub-2.10.1/README.md2019-03-27 22:37:12.0 +0100 @@ -32,7 +32,7 @@ Homebrew -`hub` can be installed through [Homebrew](https://docs.brew.sh/Installation) on macOS: +`hub` can be installed through [Homebrew/Linuxbrew](https://docs.brew.sh/Installation): ``` sh $ brew install hub diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.0/commands/commands.go new/hub-2.10.1/commands/commands.go --- old/hub-2.10.0/commands/commands.go 2019-02-24 10:46:57.0 +0100 +++ new/hub-2.10.1/commands/commands.go 2019-03-27 22:37:12.0 +0100 @@ -9,9 +9,9 @@ ) var ( - NameRe = "[\\w.][\\w.-]*" + NameRe = `[\w.-]+` OwnerRe = "[a-zA-Z0-9][a-zA-Z0-9-]*" - NameWithOwnerRe = fmt.Sprintf("^(?:%s|%s\\/%s)$", NameRe, OwnerRe, NameRe) + NameWithOwnerRe = fmt.Sprintf(`^(%s/)?%s$`, OwnerRe, NameRe) CmdRunner = NewRunner() ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.0/commands/commands_test.go new/hub-2.10.1/commands/commands_test.go --- old/hub-2.10.0/commands/commands_test.go2019-02-24 10:46:57.0 +0100 +++ new/hub-2.10.1/commands/commands_test.go2019-03-27 22:37:12.0 +0100 @@ -3,6 +3,7 @@ import ( "io/ioutil" "os" + "regexp" "testing" "github.com/bmizerany/assert" @@ -123,3 +124,23 @@ c.Call(args) assert.Equal(t, "baz", result) } + +func Test_NameWithOwnerRe(t *testing.T) { + re := regexp.MustCompile(NameWithOwnerRe) + + assert.Equal(t, true, re.MatchString("o/n")) + assert.Equal(t, true, re.MatchString("own-er/my-project.git")) + assert.Equal(t, true, re.MatchString("my-project.git")) + assert.Equal(t, true, re.MatchString("my_project")) + assert.Equal(t, true, re.MatchString("-dash")) + assert.Equal(t, true, re.MatchString(".dotfiles")) + + assert.Equal(t, false, re.MatchString("")) + assert.Equal(t, false, re.MatchString("/")) + assert.Equal(t, false, re.MatchString(" ")) + assert.Equal(t, false, re.MatchString("owner/na me")) + assert.Equal(t, false, re.MatchString("owner/na/me")) + assert.Equal(t, false, re.MatchString("own.er/name")) + assert.Equal(t, false, re.MatchString("own_er/name")) + assert.Equal(t, false, re.MatchString("-owner/name")) +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.0/commands/help.go new/hub-2.10.1/commands/help.go --- old/hub-2.10.0/commands/help.go 2019-02-24 10:46:57.0 +0100 +++ new/hub-2.10.1/commands/help.go 2019-03-27 22:37:12.0 +0100 @@ -195,6 +195,7 @@ var helpText = ` These GitHub commands are provided by hub: + apiLow-level GitHub API request interface browse Open a GitHub page in the default browser ci-status Show the status of GitHub checks for a commit compareOpen a compare page on GitHub diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hub-2.10.0/commands/remote.go new/hub-2.10.1/commands/remote.go
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2019-03-19 09:57:51 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new.28833 (New) Package is "hub" Tue Mar 19 09:57:51 2019 rev:3 rq:682043 version:2.10.0 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2018-06-22 13:35:26.798509892 +0200 +++ /work/SRC/openSUSE:Factory/.hub.new.28833/hub.changes 2019-03-19 09:57:52.408115467 +0100 @@ -1,0 +2,118 @@ +Tue Mar 5 23:24:26 UTC 2019 - Martin Hauke + +- Run spec-cleaner +- Set proper GOPATH during the build +- Drop not longer required 'rubygem(ronn)' from the BuildRequires +- Package VIM-plugins +- Update to version 2.10.0 + Features + * New hub pr list --format fields %pS and %pC for PR state and color + * Have commands with rich output respect the --color flag + Fixes + * Make man pages parseable with whatis + * Make hub checkout work independently of remote refspec +- Update to version 2.9.0 + Features + * Add support for hub ci-status --format string + * Add hub create --remote-name flag + * Allow passing in a raw request body via hub api --input + * Cache HTTP 4xx (except 403) server responses in hub api --cache + Fixes + * Ensure consistent ordering of hub ci-status -v results + * Avoid crashing on invalid GitHub hostname + * Fix parsing empty string within command-line arguments +- Update to version 2.8.4 + * Add hub api -H flag to set HTTP request headers + * Add hub api -i flag to output HTTP response headers + * Change how hub api deals with HTTP errors: ++ HTTP response is now printed on stdout regardless of HTTP status ++ No longer print an extra newline after HTTP response body ++ No more Error: HTTP {STATUS} message on stderr ++ hub exits with status 22 instead of 1 + * Fix hub execution under WSL (Windows Subsystem for Linux) +- Update to version 2.8.3 + * New hub api command for scripting with GitHub API + * Re-implement CLI flag parsing so that --message is +equivalent to --message= + * Re-implement make man-pages in Go instead of Ruby + * issue create --label is now issue create --labels to align +with existing documentation + * Output crash debugging information on stderr instead of stdout + * Fix uploading assets with hub release +- Update to version 2.7.1 + * Respect chosen Enterprise host on hub init -g + * Ensure consistent order of options when prompted to choose +between multiple configured GitHub hosts + * Ensure alphabetical sort of hub issue labels output + * Improve contrast of label text vs. its background color + * Various documentation formatting tweaks +- Update to version 2.7.0 + Features + * Add support for hub pr list --state=merged + * Add base/head/merge commit SHA and merged date information to +hub pr list --format=FORMAT + * Un-deprecate converting issues to pull requests with hub +pull-request -i +- Update to version 2.6.1 + * Fix using git aliases for git 2.20 + * Add support for passing multiple --message options for compatibility +with git + * Allow the %h token in HostName value read from ssh config +- Update to version 2.6.0 + Features + * Use "scissors" line to delineate comments in editable messages instead +of stripping away lines that start with #. This helps preserve Markdown +headings in hub pull-request, hub release create, and similar commands +that open a text editor interactively. + * New command hub issue show + * Add hub release show --format= functionality + * hub pr list --format=%rs lists requested reviewers + * Add support for communicating with GitHub Enterprise over Unix socket + Fixes + * Prevent hub create setting a public upstream when creating a +private repo + * Fix hub create in place of a renamed repo + * Fix hub release create/edit/delete when there are multiple git remotes + * Auto-detect private/pushable repos in hub remote add + * Fix hub ci-status exit code when there is only Checks + * Allow hub compare even if not on any branch + * Ensure consistent sort direction when listing issues, PRs + * Match requested team names by slug instead of name in +hub pull-request -r +- Update to version 2.5.1 + * hub issue create: ignore the .github/ISSUE_TEMPLATE directory +instead of crashing + * hub pull-request: avoid re-requesting reviewers in case of CODEOWNERS + * hub ci-status: handle cases when Checks API is unavailable, like +older GitHub Enterprise + * Handle HTTP 422 message format from server response + * Ignore crash for malformed ~/.config/hub file + * Clarify hub init -g documentation that it doesn't imply hub create + * hub clone: add more documentation about git protocol used +- Update to version 2.5.0 + Features + * Have ci-status als
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2018-06-22 13:35:14 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new (New) Package is "hub" Fri Jun 22 13:35:14 2018 rev:2 rq:618222 version:2.3.0_pre10 Changes: --- /work/SRC/openSUSE:Factory/hub/hub.changes 2018-02-07 18:40:27.982843869 +0100 +++ /work/SRC/openSUSE:Factory/.hub.new/hub.changes 2018-06-22 13:35:26.798509892 +0200 @@ -1,0 +2,10 @@ +Thu Jun 21 06:58:13 UTC 2018 - mplus...@suse.com + +- Modernise spec file a bit + +--- +Thu Jun 21 03:05:01 UTC 2018 - bwiedem...@suse.com + +- Properly handle upgrade from old renamed hub gem + +--- Other differences: -- ++ hub.spec ++ --- /var/tmp/diff_new_pack.HBXhKi/_old 2018-06-22 13:35:28.018464794 +0200 +++ /var/tmp/diff_new_pack.HBXhKi/_new 2018-06-22 13:35:28.022464646 +0200 @@ -16,21 +16,22 @@ # +%define ver 2.3.0-pre10 Name: hub Version:2.3.0_pre10 -%define ver 2.3.0-pre10 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT Group: Development/Tools/Version Control -Url:https://github.com/github/hub +URL:https://github.com/github/hub Source: https://github.com/github/%{name}/archive/v%{ver}.tar.gz BuildRequires: fish BuildRequires: go BuildRequires: groff -BuildRequires: rubygem(ronn) BuildRequires: zsh -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: rubygem(ronn) +Provides: rubygem-hub = %{version} +Obsoletes: rubygem-hub < 2.0 %description hub is a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier. @@ -42,23 +43,27 @@ sed -i -e 's#cd .*#true#' script/install.sh %build -make bin/hub man-pages +make %{?_smp_mflags} bin/hub man-pages %install prefix=%{buildroot}%{_prefix} script/install.sh -install -Dm0644 etc/hub.bash_completion.sh %{buildroot}%{_datadir}/bash-completion/completions/hub -install -Dm0644 etc/hub.fish_completion %{buildroot}%{_datadir}/fish/vendor_completions.d/hub.fish -install -Dm0644 etc/hub.zsh_completion %{buildroot}%{_datadir}/zsh/site-functions/_hub +install -Dpm 0644 etc/hub.bash_completion.sh \ + %{buildroot}%{_datadir}/bash-completion/completions/hub +install -Dpm 0644 etc/hub.fish_completion \ + %{buildroot}%{_datadir}/fish/vendor_completions.d/hub.fish +install -Dpm 0644 etc/hub.zsh_completion \ + %{buildroot}%{_datadir}/zsh/site-functions/_hub %check #make test #make test-all %files -%defattr(-,root,root) +%doc README.md +%license LICENSE %{_bindir}/hub -%{_mandir}/man1/hub.1.gz -%{_mandir}/man1/hub-*.1.gz +%{_mandir}/man1/hub.1%{?ext_man} +%{_mandir}/man1/hub-*.1%{?ext_man} %{_datadir}/bash-completion/completions/hub %{_datadir}/fish/vendor_completions.d/hub.fish %{_datadir}/zsh/site-functions/_hub
commit hub for openSUSE:Factory
Hello community, here is the log from the commit of package hub for openSUSE:Factory checked in at 2018-02-07 18:40:27 Comparing /work/SRC/openSUSE:Factory/hub (Old) and /work/SRC/openSUSE:Factory/.hub.new (New) Package is "hub" Wed Feb 7 18:40:27 2018 rev:1 rq:571814 version:2.3.0_pre10 Changes: New Changes file: --- /dev/null 2018-01-05 12:14:39.755488130 +0100 +++ /work/SRC/openSUSE:Factory/.hub.new/hub.changes 2018-02-07 18:40:27.982843869 +0100 @@ -0,0 +1,4 @@ +--- +Sat Jan 27 17:16:10 UTC 2018 - tampak...@opensuse.org + +- Initial package New: hub.changes hub.spec v2.3.0-pre10.tar.gz Other differences: -- ++ hub.spec ++ # # spec file for package hub # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: hub Version:2.3.0_pre10 %define ver 2.3.0-pre10 Release:0 Summary:Command-line wrapper for git and GitHub License:MIT Group: Development/Tools/Version Control Url:https://github.com/github/hub Source: https://github.com/github/%{name}/archive/v%{ver}.tar.gz BuildRequires: fish BuildRequires: go BuildRequires: groff BuildRequires: rubygem(ronn) BuildRequires: zsh BuildRoot: %{_tmppath}/%{name}-%{version}-build %description hub is a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier. %prep %setup -q -n %{name}-%{ver} sed -i -e 's#bin/ronn --#ronn --#' -e 's#script/bootstrap#true#' Makefile chmod +x script/install.sh sed -i -e 's#cd .*#true#' script/install.sh %build make bin/hub man-pages %install prefix=%{buildroot}%{_prefix} script/install.sh install -Dm0644 etc/hub.bash_completion.sh %{buildroot}%{_datadir}/bash-completion/completions/hub install -Dm0644 etc/hub.fish_completion %{buildroot}%{_datadir}/fish/vendor_completions.d/hub.fish install -Dm0644 etc/hub.zsh_completion %{buildroot}%{_datadir}/zsh/site-functions/_hub %check #make test #make test-all %files %defattr(-,root,root) %{_bindir}/hub %{_mandir}/man1/hub.1.gz %{_mandir}/man1/hub-*.1.gz %{_datadir}/bash-completion/completions/hub %{_datadir}/fish/vendor_completions.d/hub.fish %{_datadir}/zsh/site-functions/_hub %changelog