Commit graph

12 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
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
a95ec8df43
*: Fix linter issues
This commit fixes issues flagged by the additional linters enabled in
the parent commit.

Signed-off-by: Aditya Sirish <aditya@saky.in>
2023-10-24 16:48:46 -04:00
Pat Zielinski
d0905e7816 Add SPDX License Identifiers to code files
Signed-off-by: Pat Zielinski <70954403+patzielinski@users.noreply.github.com>
2023-10-09 08:09:34 -04:00
Aditya Sirish
148a15fe16
Handle panics, direct users to issue tracker
Also adds a bug issue template

Signed-off-by: Aditya Sirish <aditya@saky.in>
2023-09-12 16:09:55 -04:00
Aditya Sirish
3192cdb861
Rename module to use gittuf org
Signed-off-by: Aditya Sirish <aditya@saky.in>
2023-08-30 13:13:54 -04:00
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
Aditya Sirish
88e0ee0033
Create CLI foundation and dev helper commands
gittuf needs a CLI and this commit introduces the foundations of the
CLI. Also, it includes certain tools in the "dev" subcommand to sanity
check other parts of the implementation. At some point, this subcommand
will be retired.

Signed-off-by: Aditya Sirish <aditya@saky.in>
2023-02-20 14:09:44 -05:00
Aditya Sirish
2e0ebfb109
Archive prototype, start from clean slate
Signed-off-by: Aditya Sirish <aditya@saky.in>
2023-01-31 09:38:51 -08:00
Aditya Sirish
2a635deac3
Remove attribution in file headers
Signed-off-by: Aditya Sirish <aditya@saky.in>
2022-12-07 17:13:42 -05:00
Aditya Sirish
892f66329e
Update copyright notice
Signed-off-by: Aditya Sirish <aditya@saky.in>
2022-11-21 15:57:17 -05:00
Aditya Sirish
4dcd174e18
Initial commit
Signed-off-by: Aditya Sirish <aditya@saky.in>
2022-10-28 14:04:24 -04:00