regress/cmdline/tag.sh


Log

Author Commit Date CI Message
Stefan Sperling 49a2d94a 2022-07-04T10:41:22 remove parts of tag_create_ssh_signed which just duplicate the tag_create test
Josh Rickmar 5c5d88bf 2022-07-03T21:59:10 remove duplicate test_parseargs call spotted by op@
Josh Rickmar a82759bb 2022-07-03T21:57:37 fix echo/printf order and actually run the test
Josh Rickmar 2c0a0d66 2022-07-03T21:46:09 whitespace fix
Josh Rickmar 91d845ad 2022-07-03T21:44:01 fix tag signing when the key file does not exist This should fail without creating any tag. Before, ssh-keygen(1) would print an error to stderr, but got would create an unsigned tag. ok op@
Josh Rickmar 4d5ee956 2022-07-02T21:27:21 create and verify tags signed by SSH keys This adds a new -s flag to 'got tag' that specifies the signer identity (for example, a key file) of the tagger. The tag object will include a signature that validates each of the tag object headers and the tag message. Verifying these signed tags requires maintaining an allowed signers file which maps signer identities (i.e. the email address of the tagger) to SSH public keys. See ssh-keygen(1) for more details of the allowed signers file. After creating this file and providing the path to it in got.conf(5) using the allowed_signers option, tags may be verified using with 'got tag -V tag_name'. The return code will be non-zero if a signature fails to verify. ok stsp@
Stefan Sperling 8c4a6db8 2022-06-29T14:58:58 make it possible to show just one tag with 'got tag -l' suggested by jrick ok jrick jamsek
Christian Weisgerber 49c543a6 2022-03-31T20:41:38 use test(1) -eq and -ne to compare integers, and reduce quoting This brings the rest of the regression test scripts in line with patch.sh.
Stefan Sperling 138e4f47 2021-10-09T19:47:15 display the requested object type when an object could not be found ok millert@
Christian Weisgerber 3a6b8760 2021-08-31T19:18:37 use the POSIX-compliant "date -u" command to return UTC time; ok stsp
Christian Weisgerber a9662115 2021-08-29T13:01:47 add missing "return 1" to failure handling in the regress scripts ok stsp@
Stefan Sperling 54c39596 2020-12-28T17:38:34 use POSIX [s1 = s2] syntax instead of [s1 == s2]; patch by Ryo ONODERA
Christian Weisgerber f6cae3ed 2020-09-13T14:05:17 switch function declarations from Korn shell to Bourne/POSIX shell syntax ok stsp
Stefan Sperling 7fb414ae 2020-08-08T07:34:47 add a -q option to tests for quiet output and use it for 'make regress' Previous default output remains when test cases are run individually. ok tracey
Stefan Sperling b90c3048 2020-04-19T09:10:52 adjust expected "object not found" error output in tests
Stefan Sperling 80106605 2020-02-24T20:31:09 switch 'got tag' commit argument to a -c option for consistency
Stefan Sperling ac03cf6d 2020-01-17T14:37:03 fix bug in tag list tests where expected datestamps were swapped
Stefan Sperling d4efa91b 2020-01-14T13:25:55 handle Git-style "lightweight" tags in got tag -l
Stefan Sperling dca75039 2019-09-02T09:56:40 fix tag_list test failure on single-day-digit dates (patch by Evan Silberman)
Stefan Sperling b8bad2ba 2019-08-23T20:01:06 make 'got tag -l' list tags by time stamp in descending order
Stefan Sperling e8039a4a 2019-08-23T13:20:34 create tag objects with both Git and Got during tag -l test
Stefan Sperling 2417344c 2019-08-23T13:19:31 tweak the way 'got tag -l' displays tagged objectsI
Stefan Sperling ea6d9f6b 2019-08-22T22:55:04 add a colon behind object type in got tag -l, for consistency
Stefan Sperling 8e7bd50a 2019-08-22T22:20:56 initial implementation of 'got tag' command