| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change refactors the implementation of how the version is embedded
in the binary to reduce the number of variables necessary to determine
the version information from 3 to 1.
The legacy build variables are still supported, however, a warning will
be emitted instructing users to contact their package maintainer. The
legacy GitExacTag variable, if present, will be used to set main.version
if it is undefined. This ensures that unmigrated package builds will
continue to provide the correct version information.
The legacy build variables will be supported until 0.12.0, giving
package maintainers some time to migrate.
Change-Id: I05fea97169ea1af87b198174afe5b6663f860fd8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change removes the 'commands' command. This command historically
printed out all of the commands, optionally with help text. This is
superfluous, as we ship a manpage for each of the common shells, have
markdown documentation available in the repository, and provide help
text via the `--help` flag.
BREAKING-CHANGE: The `commands` command has been removed. There is no
replacement
planned. Users are encouraged to run `--help`, view the markdown
documentation available online, or run `man git-bug` to view the
manpage in your terminal.
Change-Id: I8bbfb03c03c820ec0b56549e59ab76826c45b9cc
|
|
|
|
|
|
|
|
|
|
| |
This change fixes an error typically encountered in the `git-bug-wipe`
command, caused by overly zealous implementations of
//repository:config.go%ConfigWrite.RemoveAll(). This change refactors
these implementations to only attempt to remove sections that exist,
and ignore non-existent sections.
Closes: #1451
Change-Id: I66e710239915c8601dd70a78ae65eb625e093ef6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+0200 is not a valid reference identifier for the time format string,
which requires a valid layout [0] using the reference time `01/02
03:04:05PM '06 -0700`.
As the documentation notes:
> It is a regrettable historic error that the date uses the American
> convention of putting the numerical month before the day.
This, combined with `-0700` being hardcoded into the layout requirements
is what likely led to the confusion that caused this issue. This change
is a fix for all `Time.Format()` calls, adjusting the time format in
place to use the correct tzdata. As a future potential improvement, we
should consider refactoring the format to use one of the constants in
the time package that are exported for the different predefined
formatting strings. This is not being done as part of this change
because the current formatting string used in these calls does not match
exactly with any of the predefined format strings.
... it isn't clear to me why this passes on CI. Using `+0200` to
reference the timezone in the format string is invalid according to the
`time` package documentation.
[0]: https://pkg.go.dev/time#Layout
Closes: #1387
Change-Id: Ifa198266c407524f7ef33ee33cf94ce9d0158f45
|
|
|
| |
This will be useful for Board, and likely code review support later
|
|
|
|
|
|
|
|
| |
The repository was recently moved to the git-bug organization on github.
This change refactors references to the repository to ensure that they
use the updated owner URI.
Closes: #1243
Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff
|
|
|
|
|
|
|
|
| |
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
chore: remove refs to deprecated io/ioutil
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
|
|
|
|
| |
Still one issue remaining: the last bar doesn't dissapear. Looks like a mbp issue.
|
| |
|
|\
| |
| | |
style: clean up linter complaints
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fixed version info be set when go install
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
renderer cover that usage
|
| | | |
|
|/ /
| |
| |
| | |
Resolves #996
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
commands: add a nice terminal progress bar when building the cache
|
| |/
| |
| |
| | |
One issue remaining is that writing the cache takes significant time, but I don't know how to reflect that nicely to the user.
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Resolves #926
|
| |
|
| |
|
|\
| |
| | |
commands: generic "select" code, move bug completion in bugcmd
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
feat(935): disambiguate config errors
|
| |
| |
| |
| | |
Resolves #935.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|