gittuf/internal/gitinterface
Aditya Sirish 31035b843c
cmd: Refactor entirely
This is a full fledged refactor of the cmd package based on this comment:
https://github.com/adityasaky/gittuf/pull/41#discussion_r1198995982.

First, the dev subcommand is retired as it was necessary to test certain
RSL functions which have now been built. The subcommand also printed out
the git config, again something we no longer need. To that end,
GetConfig() in gitinterface has been made private.

Second, the trust and policy subcommands have been reimplemented using
the recommended structure with specific packages that construct them
with their options.

Finally, the cmd package has been moved to the internal namespace.

Signed-off-by: Aditya Sirish <aditya@saky.in>
2023-05-20 15:17:11 -04:00
..
test-data gitinterface: Improve testing of GetSigningInfo 2023-05-18 14:39:08 -04:00
blob.go Several changes to prepare policy namespace 2023-03-21 12:46:09 -04:00
blob_test.go Several changes to prepare policy namespace 2023-03-21 12:46:09 -04:00
commit.go Remove repo parameter when crafting signing command 2023-05-07 15:01:01 -04:00
commit_test.go Add gitinterface package 2023-02-20 14:09:44 -05:00
config.go cmd: Refactor entirely 2023-05-20 15:17:11 -04:00
keys.go cmd: Refactor entirely 2023-05-20 15:17:11 -04:00
keys_test.go gitinterface: Improve testing of GetSigningInfo 2023-05-18 14:39:08 -04:00
tree.go Several changes to prepare policy namespace 2023-03-21 12:46:09 -04:00
tree_test.go Several changes to prepare policy namespace 2023-03-21 12:46:09 -04:00
utils.go Several changes to prepare policy namespace 2023-03-21 12:46:09 -04:00