Commit graph

10 commits

Author SHA1 Message Date
Aditya Sirish A Yelgundhalli
3639e23219
*: Add gittuf sync
Signed-off-by: Aditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
2025-02-20 17:56:07 -05:00
Aditya Sirish
749b7df97c
*: Add support for coloring log output
Signed-off-by: Aditya Sirish <aditya@saky.in>
2025-02-01 17:58:11 -05:00
Aditya Sirish A Yelgundhalli
16d9e1d9ce
*: Move reference authorizations out of dev mode
Signed-off-by: Aditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
2025-01-31 13:45:23 -05:00
Aditya Sirish A Yelgundhalli
a601aee55d
*: Various policy fixes
1. VerifyMergeable was incorrectly returning an error when no verifiers were
found (for an unprotected base branch).

2. Policy's searcher interface was also returning the wrong error when the
latest policy or attestation entry was not found.

3. A verify-mergeable command has been added to simplify debugging.

Signed-off-by: Aditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
2024-12-06 16:08:32 -05:00
Aditya Sirish A Yelgundhalli
06b2d5713f *: Drop verify-{commit,tag} workflows
These workflows have some shortcomings, as discussed in
https://github.com/gittuf/gittuf/issues/384#issuecomment-2099153472.

verify-commit doesn't currently do enough to ensure the right policy is
identified for when a commit is first introduced. verify-ref, with some
enhancements, is better.

verify-tag implements a subset of verify-ref already because it recognizes tags
are refs. Thus, verify-ref is again a better option.

Signed-off-by: Aditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
2024-06-17 16:41:01 -04:00
Aditya Sirish
313509d3d9
cmd: Move apply to trust / policy cmds
For consistency, this makes apply a subcommand of both trust and policy
commands.

Signed-off-by: Aditya Sirish <aditya@saky.in>
2024-05-07 16:08:15 -04:00
neilnaveen
62be4b8360
Introduce Basic Staging Capabilities Utilizing the Policy Staging Ref
Fixed Docs and Lint Errors

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2024-04-26 10:16:57 -04:00
Aditya Sirish
d4547c998f
cmd: Add support for profiling via pprof
Signed-off-by: Aditya Sirish <aditya@saky.in>
2024-01-23 10:44:58 -05:00
Aditya Sirish
899534f908
docs: Regenerate CLI docs
Signed-off-by: Aditya Sirish <aditya@saky.in>
2024-01-16 11:18:51 -05:00
Billy Lynch
0eb7030d71
Generate CLI docs.
Adds `DisableAutoGenTag: true` to disable timestamp in generated docs.

Signed-off-by: Billy Lynch <billy@chainguard.dev>
2024-01-12 11:50:27 -05:00