| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change upgrades `bleve`, primarily to remove the need for the
replace directive on `github.com/willf/bitset`, but this change upgrades
further to move past a non-impacting vulnerability to the `bleve/http`
package [0] [1], even though we do not use it, even indirectly.
Note that even though the GitHub advisory [0] notes that this is patched
in `v2.5.0`, all that seems to have happened (see [1]) is that a README
was added to the package noting the vulnerabilities.
Other CVE databases [2] [3] do not mark this as resolved. Again,
however, git-bug DOES NOT USE this package, so it is not really a
concern.
The cache and indexing format was changed. Index storage gains are
_significant_ (at the time of writing, with the git-bug repository, this
change reduces the index cache from ~51 MiB to less than 4 MiB).
This does not come with a change to bleve's API. We do have a test that
validates that the index file exists, however, so this change refactors
that to check against the appropriate path.
[0]: https://github.com/advisories/GHSA-9w9f-6mg8-jp7w
[1]:
https://github.com/blevesearch/bleve/commit/1c7509d6a17d36f265c90b4e8f4e3a3182fe79ff
[2]: https://nvd.nist.gov/vuln/detail/CVE-2022-31022
[3]: https://pkg.go.dev/vuln/GO-2022-0470
BREAKING-CHANGE:
This causes a change to the format of the internal, local cache that
git-bug uses. Users should note that older versions of git-bug will be
incompatible with this new cache format.
If you wish to downgrade to an older version of git-bug, you should
first remove the cache by executing `rm -rf .git/git-bug` in a
terminal, and then initialize the older version of git-bug to build a
compatible version of the cache.
Co-authored-by: Michael Muré <battoletre@gmail.com>
Change-Id: I9ab436ade9221bfd91b84ebaf47434f1b3d91cd3
Co-authored-by: Michael Muré <battoletre@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change introduces a new method for resolving the URI for a given
remote (by name), ensuring that the URI is rewritten following the rules
defined in `url.*.insteadOf` configuration.
When `go-git@69aefb67315d775bf73df836b1e3ba5a3b321198` lands in a
release (and we update go-git to that release), this should be
refactored to use `config.URL.InsteadOfs()`, which supports multiple
`url.*.insteadOf` configuration blocks instead of the current limitation
of always taking the last definition.
Closes: #944
Change-Id: Iffd111a1f4c42eff12613dcbd1b0d27df415f5e8
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: dockercui <dockercui@aliyun.com>
|
|
|
|
|
|
| |
- add a limited reader to avoid abuse
- support recusive indirection (up to depth 10)
- check that the pointed to repo does exist
|
| |
|
|
|
|
| |
unit test
|
|
|
|
|
| |
Altered logic for detecting git directory. Instead of erroring on non-direcctory .git files,
now parses the file and returns the linked gitdir.
|
| |
|
| |
|
| |
|
|\
| |
| | |
feat(935): disambiguate config errors
|
| | |
|
| |
| |
| |
| | |
References #935.
|
| |
| |
| |
| | |
Resolves #935.
|
| | |
|
| |
| |
| |
| | |
namespace to push/pull
|
|/
|
|
|
| |
Additionally, remove and concentrate quite a lot of complexity from the cache layer
into a "per app" single site where to configure how indexing is done.
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/MichaelMure/git-bug/issues/653
|
| |
|
| |
|
| |
|
|
|
|
| |
Note that examples still need to shown how a developer would use the library.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
absolute filepath
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
fix https://github.com/MichaelMure/git-bug/issues/497
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
see https://blog.golang.org/path-security for details
|
| |
| |
| |
| |
| |
| | |
- go fmt
- add a shorthand
- fix displayed webUI URL in the terminal
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|