Kubernetes Prow Robot
5e40d477f9
Merge pull request #876 from kubernetes/dependabot/github_actions/golangci/golangci-lint-action-6
...
Bump golangci/golangci-lint-action from 5 to 6
2024-05-13 09:09:28 -07:00
dependabot[bot]
9da53c5406
Bump golangci/golangci-lint-action from 5 to 6
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 14:00:15 +00:00
Kubernetes Prow Robot
df639fddbf
Merge pull request #872 from kubernetes/dependabot/github_actions/golangci/golangci-lint-action-5
...
Bump golangci/golangci-lint-action from 4 to 5
2024-04-29 08:12:36 -07:00
dependabot[bot]
179d0e6ebe
Bump golangci/golangci-lint-action from 4 to 5
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 13:07:47 +00:00
Kubernetes Prow Robot
9d546c38fa
Merge pull request #870 from demoth/patch-1
...
README.md - fix usage comments
2024-04-13 13:40:35 -07:00
Kubernetes Prow Robot
e6957283d4
Merge pull request #871 from dims/Bump-bookworm-image-to-1.0.2
...
Bump base bookworm image to 1.0.2
2024-04-12 13:12:42 -07:00
Davanum Srinivas
4b78431723
Bump base bookworm image to 1.0.2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-04-10 11:03:36 -04:00
demoth
5425f59147
README.md - fix usage comments
2024-04-10 11:56:34 +02:00
Tim Hockin
f521da5548
Add e2e for ssh:// URLs
2024-04-04 16:40:32 -07:00
Kubernetes Prow Robot
e412c5f9ee
Merge pull request #868 from yyvess/fix/git_ssh_auth
...
fix(auth): Fix ssh authentication
2024-04-04 09:17:54 -07:00
Yves Galante
28b8f36746
fix(auth): Fix ssh authentication
...
Signed-off-by: Yves Galante <yyvess@gmail.com>
2024-04-04 18:01:02 +02:00
Kubernetes Prow Robot
e8305c895f
Merge pull request #867 from sdowell/bump-protobuf
...
chore: bump google.golang.org/protobuf
2024-03-14 12:50:53 -07:00
Sam Dowell
aca13550d4
chore: bump google.golang.org/protobuf
...
https://github.com/advisories/GHSA-8r3f-844c-mc37
2024-03-14 11:44:10 -07:00
Tim Hockin
772ae53548
Use bash instead of dash
...
It's actually slightly smaller.
2024-03-12 08:43:50 -07:00
Kubernetes Prow Robot
3f817b201d
Merge pull request #863 from kubernetes/dependabot/github_actions/golangci/golangci-lint-action-4
...
Bump golangci/golangci-lint-action from 3 to 4
2024-02-12 09:52:13 -08:00
dependabot[bot]
1f2fb61c61
Bump golangci/golangci-lint-action from 3 to 4
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 13:08:35 +00:00
Kubernetes Prow Robot
33e781eae4
Merge pull request #862 from jmichalek132/patch-1
...
chore: fix missing unit duration in the k8s example
2024-02-08 08:59:31 -08:00
Juraj Michálek
0afb5a27af
chore: fix missing unit duration in the k8s example
2024-02-08 15:19:11 +01:00
Tim Hockin
4c4bd3b310
Fix staging script
...
Better error handling in case of failed commands.
Match "vdso" and "vdso64".
2024-02-05 14:44:03 -08:00
Tim Hockin
5e4ceb1b73
Add '-F none' to e2e git SSH command for weird environments
2024-01-16 17:25:05 -08:00
Tim Hockin
1e1f846018
Bump to go 1.21
2024-01-16 16:59:41 -08:00
Tim Hockin
d5c61f7ad1
Try not to log credentials in repo URL
...
This extracts the username and password from the URL and replaces it
with the bare URL, using the usual credential mechanism for user/pass.
2023-12-14 10:12:26 -08:00
Kubernetes Prow Robot
65e0953196
Merge pull request #850 from kubernetes/dependabot/github_actions/actions/setup-go-5
...
Bump actions/setup-go from 4 to 5
2023-12-12 18:49:47 +01:00
dependabot[bot]
3779d16285
Bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 13:08:00 +00:00
Tim Hockin
083d8dda85
Simplify inner loop: just fetch $ref
...
Old way:
- ls-remote $ref $ref^{} and parse
- compare to current
- if changed, fetch
- update worktree
New way:
- fetch $ref
- compare to current
- if change, update worktree
2023-12-08 18:25:00 -08:00
Tim Hockin
ad92ba62c4
Make abspath Split return an abspath
2023-12-08 18:04:24 -08:00
Tim Hockin
9a806c09cb
Bug: links are relative to linkdir, not rootdir
2023-12-08 18:04:24 -08:00
Tim Hockin
718a938cd4
Log worktree path
2023-12-08 18:04:24 -08:00
Tim Hockin
9e1d0c5936
Document the change in default target
2023-11-12 16:20:26 -06:00
Tim Hockin
1fdc98e3b0
Document that short SHAs dont work
2023-11-12 16:20:26 -06:00
Tim Hockin
a5cec7a036
Log less verbose flags in less verbose mode
2023-11-01 13:26:34 -07:00
Tim Hockin
2639ff475d
e2e: use global 'user.email' config
2023-10-14 15:55:00 -07:00
Tim Hockin
83bd660494
Recover if wrong worktree HEAD
2023-10-14 15:55:00 -07:00
Tim Hockin
befdbfff31
Remove errant use of --period with --one-time
2023-10-14 11:29:18 -07:00
Tim Hockin
1a5daeaf43
Add e2e case for missing worktree after crash
2023-10-14 11:29:12 -07:00
Tim Hockin
b69d0f3bac
Logging: log syncCount and be less scary
2023-10-14 11:29:03 -07:00
Tim Hockin
8fa652dafa
Break up main.go
...
Add new files for abspath, credential, and env functions.
2023-10-13 13:27:52 -07:00
Aleksandar Markovski
ff51ca92dc
fix: infinite bad loop caused by unexpected worktree directory removal
2023-10-13 13:20:54 -07:00
Tim Hockin
6426efe346
If --repo is not a URL, it's not an error
2023-10-13 12:35:13 -07:00
Tim Hockin
fc5e065878
Only redact the URL password if it was provided
2023-10-13 12:35:13 -07:00
Tim Hockin
bb1dc0b7a5
Update v3-v4 doc on ssh
2023-10-12 12:50:27 -07:00
Tim Hockin
162e543e05
Add --credential flag to spec multiple user/pass
...
* New flag is a JSON-encoded struct.
* Add test case for multiple HTTP passwd.
2023-10-08 14:46:41 -07:00
Tim Hockin
7da482e001
Add v4 note about change-permissions and exechook
...
This is sort of a regression in v4 vs, v3, but ths use case is pretty
niche, I think.
2023-10-01 15:31:43 -07:00
Tim Hockin
4ccf0633fb
Deprecate --ssh - it's not really needed
...
As long as a repo uses SSH transport (user@host:path or ssh://...), SSH
is active. This is true for the main repo or submodules.
2023-09-27 13:32:15 -07:00
Tim Hockin
32c3a0c2a7
e2e: Add assert_fail and simplify fail cases
2023-09-21 12:48:59 -07:00
Tim Hockin
627fe23a9a
e2e: Always pre-write FUNCNAME into repo/file
...
This removes a few LOC from many cases
2023-09-21 09:09:58 -07:00
Tim Hockin
66e0ba3562
e2e: merge SSH fail and success cases
2023-09-20 14:30:28 -07:00
Tim Hockin
a8d5675e1d
Add e2e for password-file
2023-09-20 12:46:13 -07:00
Tim Hockin
d4244a3424
e2e: reorder some flags for clarity
2023-09-20 09:31:15 -07:00
Tim Hockin
96b8e8a4fc
Remove redundant username/password auth test
...
The HTTP test covers this without needing a hacky git command.
2023-09-20 09:31:15 -07:00