Commit Graph

  • d4ef21e243 Change to free-fn intersperse for stdlib compat robert 2025-07-02 22:36:59 -05:00
  • d94c350cde Galaxy-brained newline intersperse function robert 2025-07-02 22:29:07 -05:00
  • 8120cb0489 Remove trailing newline in Release item printout robert 2025-07-02 22:08:45 -05:00
  • b82cfdb822 Colorize the output! robert 2025-07-02 22:06:36 -05:00
  • ea046c929f Print releases in reverse order for easier reading robert 2025-07-02 21:42:41 -05:00
  • 4553f60150 Drop the on-push-branch trigger, prep for full test deb-auto/exp robert 2025-06-09 12:14:44 -05:00
  • 077ad67c99 The workdir worked! Add it to the gbp call, too robert 2025-06-09 11:44:58 -05:00
  • 41277146a0 Always install build-deps, don't ask for user input robert 2025-06-09 11:44:48 -05:00
  • 6c0578e466 Set workdir on the git-checkout step. Stupid robert 2025-06-09 11:42:35 -05:00
  • 15d5f9872c Try relative pathing to get into the project dir robert 2025-06-09 11:40:50 -05:00
  • 660ca7353d Fix: remove extra indentation in the run string robert 2025-06-09 11:35:37 -05:00
  • 67e5e4de0f Add experimental Debian package autobuild robert 2025-06-09 11:30:46 -05:00
  • 3e557665c9 Debian 12-compatible minimum openssl crates minimal-versions robert 2025-07-02 14:52:38 -05:00
  • faa5ce8549 Pin crate log to 0.4.6 robert 2025-07-02 14:32:50 -05:00
  • 135acf09b7 Basic impl Display for the Release struct robert 2025-07-02 12:56:17 -05:00
  • bbae6b4395 Update changelog for 2.1.0-1 release debian/2.1.0-1 robert 2025-06-12 17:51:23 -05:00
  • 2c03c5ba4d Merge tag 'v2.1.0' into deb/bookworm robert 2025-06-12 17:48:09 -05:00
  • 136c051c82 Fix: incorrect field names for Attachment v2.1.0 robert 2025-06-12 17:21:48 -05:00
  • 6a9ec25d1a Update changelog for 2.0.0-1 release debian/2.0.0-1 robert 2025-06-12 16:28:43 -05:00
  • 395ce8a804 Rediff patches robert 2025-06-12 16:24:48 -05:00
  • 616be020f0 Merge tag 'v2.0.0' into deb/bookworm robert 2025-06-12 16:22:33 -05:00
  • a0ba8e7ea8 Use pre Rust 1.81 compatible file-exists test v2.0.0 robert 2025-06-01 18:01:21 -05:00
  • 324c7e67a7 Re-assign v1.0.0-1 to 'unstable' robert 2025-06-12 12:55:16 -05:00
  • 984974c240 Update debian/gbp.conf to use new branch name robert 2025-06-12 12:50:48 -05:00
  • 88cafc096f Drop unused import in api/release.rs robert 2025-06-08 10:43:32 -05:00
  • b200785e71 ... and the unit testing notes in README.md robert 2025-06-08 10:40:54 -05:00
  • 8246337ae4 Delete the unit tests robert 2025-06-08 00:06:59 -05:00
  • 06795df3f7 Update main.rs to use new attachment iface robert 2025-06-07 23:57:19 -05:00
  • a5f6335b5f Add Attachment struct, new iface for create-rel robert 2025-06-07 23:50:16 -05:00
  • 4a0addda67 Fold client-error-decode into a util function robert 2025-06-07 23:40:58 -05:00
  • 0c70b584ba Interrogate create_release_attachment result robert 2025-06-07 23:30:56 -05:00
  • 8a11c21b73 "Fix" the test case robert 2025-06-07 23:24:16 -05:00
  • d42cbbc1ec Drop unused imports robert 2025-06-07 23:22:48 -05:00
  • 96e9ff4ce6 Interrogate create_release result more closely robert 2025-06-07 23:22:20 -05:00
  • 6bdad44cc6 Interrogate list_releases result more closely robert 2025-06-07 23:15:39 -05:00
  • 4c05749d02 Rediff patches debian/1.0.0-1 robert 2025-06-06 19:22:09 -05:00
  • c0e6c5d89d Create Debian packaging files robert 2025-06-01 18:42:07 -05:00
  • e8d0d5db74 Mark crate version 1.0 v1.0.0 robert 2025-06-06 17:17:11 -05:00
  • 2501213d4f Rename the project to be gt-tool singular robert 2025-06-06 18:20:15 -05:00
  • b76d5f836d Basic automated build-and-upload robert 2025-06-05 21:04:30 -05:00
  • aadaff5db4 Add "No such release" error variant robert 2025-06-05 19:44:27 -05:00
  • 33f7fc6515 Fix the release_attachment file-existence loop robert 2025-06-04 18:07:00 -05:00
  • a08466c834 Test fix: uploading missing file shouldn't panic robert 2025-06-04 11:52:31 -05:00
  • b8225cbc04 Test should-panic when uploading missing file robert 2025-06-04 11:41:24 -05:00
  • 098f967174 Create a TestConfig struct to separate setup robert 2025-06-04 11:30:55 -05:00
  • e7e8a2871b Add unit test for release_attachment function robert 2025-06-04 11:14:12 -05:00
  • 340b37cf05 Disable the unimplemented "create" arg for uploads robert 2025-06-01 20:44:56 -05:00
  • 0a4de1cb92 Drop the prerelease flag for create-release robert 2025-06-01 20:42:05 -05:00
  • 8213ddaf46 Drop default-false for flag arguments robert 2025-06-01 15:06:30 -05:00
  • bbf1eecc52 Rename the user-agent string, include pkg version robert 2025-06-01 15:03:08 -05:00
  • e0c21fceaf Autoformat the whole thing robert 2025-06-01 13:28:06 -05:00
  • 442c8a97f8 Create a usage guide robert 2025-06-01 13:27:45 -05:00
  • 448aac531a Find matching release ID for release-attachment robert 2025-06-01 12:24:16 -05:00
  • fac607719d Move the CreateResult enum into the releases mod robert 2025-06-01 11:07:11 -05:00
  • ee42e09620 Fix API response decoding -- sometimes it's an err robert 2025-05-31 22:46:54 -05:00
  • 8ab1f77b0e Only apply the Auth token header if a token exists robert 2025-05-31 22:21:41 -05:00
  • 508e2ac802 Fix auth token header, needs "token" prefix robert 2025-05-31 20:53:36 -05:00
  • baf0117a74 Delete the error mapper utility robert 2025-05-29 17:46:00 -05:00
  • 3e563d4bb0 Clean up now-unused imports in main.rs robert 2025-05-29 17:43:52 -05:00
  • e848d9ace5 Delete old do_upload_release robert 2025-05-29 17:42:54 -05:00
  • 6b537c8992 Hook in new create_release_attachment to main robert 2025-05-29 17:42:31 -05:00
  • 6d95e54bc7 Transfer impl of release_attach to new home robert 2025-05-29 17:40:12 -05:00
  • 29172bae0b Delete old do_create_release function robert 2025-05-28 20:29:41 -05:00
  • 4250deb419 Implement new fn create_release() robert 2025-05-28 20:27:52 -05:00
  • a212dc3ceb Drop unused imports robert 2025-05-28 20:27:31 -05:00
  • 766703b8ec Load API token at startup, not API calls robert 2025-05-28 20:21:13 -05:00
  • a16594f5a9 Use our own Error enum in fn main robert 2025-05-28 19:33:52 -05:00
  • d3a0d3f67e Fix the URL path to actually go to the API robert 2025-05-28 19:27:32 -05:00
  • 90ae47abb2 Delete old do_list_releases, wire in the new one robert 2025-05-27 23:05:03 -05:00
  • 472e592400 Implement the new ::api::list_releases function robert 2025-05-27 23:03:09 -05:00
  • e19602925e Add release_attachment module robert 2025-05-27 23:02:27 -05:00
  • 36adabb4fd Start our own Error enum robert 2025-05-27 23:01:49 -05:00
  • 84bd7fe990 Fix release API module's name robert 2025-05-27 20:52:23 -05:00
  • 5db1134257 Move CreateReleaseOption to new tree robert 2025-05-27 20:45:34 -05:00
  • 5f666a8179 Move the Release info structs to new tree robert 2025-05-27 20:42:05 -05:00
  • 351c4902ae Create new module layout based on Gitea's own robert 2025-05-27 20:40:13 -05:00
  • b26436d5be Remove already commented-out code & dbg prints robert 2025-05-27 19:26:11 -05:00
  • 053ee8def9 Use file name, not whole path as upload name robert 2025-05-27 19:21:05 -05:00
  • c731cd963c Some but not all of the upload routine robert 2025-05-27 19:19:09 -05:00
  • 54487622c0 Add CLI option for uploading files + dummy hookup robert 2025-05-25 09:08:22 -05:00
  • 8843640385 Thread the primary args through the operation fn's robert 2025-05-24 19:33:46 -05:00
  • 6b409c56d4 Change primary arguments robert 2025-05-24 19:33:21 -05:00
  • 1210b168ee Demo: missing CLI args can be filled via env vars robert 2025-05-24 19:00:35 -05:00
  • 985c411902 Wire in the release CLI args to the creation fn robert 2025-05-24 18:47:51 -05:00
  • c5efb0e9f7 Add remaining release creation CLI args robert 2025-05-24 18:47:35 -05:00
  • 973d9aa6c6 Fix: missing slash between owner and repo robert 2025-05-24 18:29:49 -05:00
  • 0f4f2ee48f TODO: Serde won't make empty-vec robert 2025-05-24 18:17:41 -05:00
  • d4ec677b28 Internal-ize API endpoint assembly for create-release robert 2025-05-24 18:15:01 -05:00
  • 2c9cd5b958 Move list-releases code to its own function robert 2025-05-24 18:13:39 -05:00
  • f7ba2e99aa Assemble fragments to get API endpoint robert 2025-05-24 18:13:10 -05:00
  • da15506896 Sort derive macros robert 2025-05-24 17:59:25 -05:00
  • 2705900e10 Lint robert 2025-05-24 17:59:05 -05:00
  • 80637ca76c Move create-release code to it's own function robert 2025-05-24 17:56:10 -05:00
  • 19cb224598 Hook up the new deserialization structs robert 2025-05-24 17:07:08 -05:00
  • 26fa57a24f Additional structs & enums for API error responses robert 2025-05-24 17:04:08 -05:00
  • f1da1b508a Releases can now be created... sorta robert 2025-05-24 15:14:53 -05:00
  • f31f5b49da Move the URL and HTTP Client out of match block robert 2025-05-24 14:53:16 -05:00
  • 013c797e1f Drop nested list variable in command robert 2025-05-24 14:31:07 -05:00
  • 8b0f60d348 Wire in the ListReleases primary command robert 2025-05-24 14:18:38 -05:00
  • 408b0108a5 Starting the Clap CLI parser robert 2025-05-24 13:52:32 -05:00