Commit graph

3 commits

Author SHA1 Message Date
Pat Zielinski
d571facb8d *: Add copyright notice to code files
Signed-off-by: Pat Zielinski <70954403+patzielinski@users.noreply.github.com>
2024-09-27 15:28:12 -04:00
Aditya Sirish
999b42c677
transport: Simplify flow and switch to APIs
This commit reorganizes the remote helpers to have an easier to follow
flow of execution. It also moves the transport-related documentation to
the corresponding package for better discoverability.

Additionally, some invocations of exec.Command have been replaced by
APIs.

Finally, the logic for when to update local gittuf refs has been updated
to first check if the local is ahead of the remote. This uses the newly
introduced reconciliation function in repository.

Signed-off-by: Aditya Sirish <aditya@saky.in>
2024-09-26 13:55:39 -04:00
Aditya Sirish
01007b71d8
transport: Add initial implementation
Signed-off-by: Aditya Sirish <aditya@saky.in>
2024-06-28 12:41:15 -04:00