Skip to content

Update gdl#7

Open
biast12 wants to merge 6 commits into
masterfrom
gdl
Open

Update gdl#7
biast12 wants to merge 6 commits into
masterfrom
gdl

Conversation

@biast12

@biast12 biast12 commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Description

For: TicketsBot-cloud/gdl#12

Type of Change

  • Bug fix
  • New feature
  • Breaking change

Testing

Simply just test everything

@biast12 biast12 requested a review from a team as a code owner March 4, 2026 22:24
@github-actions github-actions Bot added needs:gomod_comment go.mod has uncommented local replace directives type:breaking Breaking Change labels Apr 26, 2026
biast12 added 5 commits April 26, 2026 13:24
Add github.com/klauspost/compress v1.17.9 to go.mod to include compression utilities for the project.
Introduce NewFromCliConfig and TicketIDFromKey in pkg/s3client to centralize MinIO client creation and ticket-id parsing, removing repeated minio setup across commands. Add pkg/utils/transcripts.go with Decode to unify v1->v2 transcript conversion and replace duplicated decoding logic in cleanuser, exportguild, exportuser, and deletetranscript. Remove now-unused exportuser cache/userdata helpers and update cache usage to the context-aware GetUser call. Update imports and call sites to use the new helpers and simplify CLI config parsing. These changes reduce duplication and make S3/decoding behavior consistent across tools.
Add a new .env.example containing placeholder environment variables (ARCHIVER_ADDR, S3_ENDPOINT, S3_ACCESS, S3_SECRET, S3_BUCKET, PRODUCTION_MODE) and delete the now-redundant envvars.md. Consolidates environment variable documentation into a single example file.
Whitespace-only cleanup in pkg/model: removed extra blank lines in pkg/model/v1/attachment.go and added the missing newline at EOF in pkg/model/version.go. No functional changes; purely formatting to ensure consistent file endings and style.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:gomod_comment go.mod has uncommented local replace directives type:breaking Breaking Change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant