aboutsummaryrefslogtreecommitdiff
path: root/internal/rtree
Commit message (Collapse)AuthorAgeFilesLines
* run `modernize -fix ./...`Stefan Majewsky2025-09-295-7/+7
| | | | | Also drop util/gocovcat.go which has been obsolete since 122068efd4a348921b736b4456d4e1c999dbfb79.
* replace deprecated dependencies with their successorsStefan Majewsky2025-09-292-2/+3
|
* Merge pull request #14 from SuperSandro2000/fixesStefan Majewsky2024-07-082-8/+8
|\ | | | | Fix lints reported by gopls
| * Fix lints reported by goplsSandro Jäckel2023-10-252-8/+8
| |
* | Don't add repos which have no remotesSandro Jäckel2023-10-251-2/+10
|/
* Remove deprecated ioutilSandro Jäckel2023-10-252-5/+3
|
* Fix commentSandro Jäckel2023-04-171-1/+1
|
* Only use compact URL in UI, not in written filesSandro Jäckel2023-04-173-8/+8
| | | | | many tools like eg some vscode extensions can parse the git remotes but do not respect git aliases and fail to understand shorthands like gh:majewsky/gofu
* Save rtree with go 1.20Sandro Jäckel2023-04-177-80/+79
|
* rtree get: ignore .git when matching reposSandro Jäckel2022-04-011-1/+2
|
* Add repo.GitDirPath() and use itSandro Jäckel2022-04-012-3/+7
|
* rtree: fix error when running `rtree index` and absorbed .git dirs where indexedSandro Jäckel2021-09-101-2/+4
| | | | | | | | | | | The fixes the following error when /home/user/src/vscode-settings/ is a git repo with an absorbed .git dir where .git points to the real repo ``` $ rtree index repository /home/sandro/src/exampleA has been deleted -> delete from index !! expected repository at /home/user/src/exampleB/.git, but is not a directory ```
* also strip final .git from clone URLs that are not SSH syntaxStefan Majewsky2021-09-081-2/+3
|
* rtree: strip final .git from clone URLsSandro Jäckel2021-09-081-1/+2
| | | | otherwise paths contain a final .git when using the clone URLs copied from the GitHub Web UI
* rtree index: reformat remote URLs into their compact formsv2020.1Stefan Majewsky2020-03-302-0/+25
|
* rtree: always store compact remote URLs in the index fileStefan Majewsky2020-03-306-65/+90
| | | | Includes a refactor to use a type RemoteURL with a more natural API.
* add test coverage for ExpandRemoteURL, add ContractRemoteURLStefan Majewsky2020-03-282-0/+87
|
* rename pkg/ to internal/Stefan Majewsky2020-03-287-0/+1345