8000 Feat/add installation script by jsburckhardt · Pull Request #11 · jsburckhardt/gic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feat/add installation script #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 12, 2024
Merged

Conversation

jsburckhardt
Copy link
Owner

This pull request includes several updates across different files to improve the setup, build process, and functionality of the project. The most important changes include updates to the CI workflow, enhancements to the GoReleaser configuration, and improvements to the cmd/root.go command execution.

CI Workflow Improvements:

GoReleaser Configuration Enhancements:

  • .goreleaser.yaml: Added Windows support and updated ldflags to include version and commit information.
  • .goreleaser.yaml: Switched changelog to use GitHub-native format.

Command Execution Improvements:

  • cmd/root.go: Changed PersistentPreRun to PersistentPreRunE to handle errors and added validation for non-flag arguments.
  • cmd/root.go: Added logging for the generated commit message and cleaned up the executeCmd function. [1] [2]

Other Notable Changes:

  • .devcontainer/devcontainer.json: Updated dev container features to include shell-history and removed azure-cli-persistence.
  • README.md: Updated the project description to emphasize reducing cognitive load by automating commit message generation.

These changes collectively enhance the development workflow, build process, and usability of the project.

- Replace azure-cli-persistence feature with shell-history in devcontainer setup.
- Add curl command for syft installation in CI jobs.
- Adjust GoReleaser to support building for Windows.

feat(install): add installation script for GIt-Commit tool

- Introduce a script to automate the installation of the gic tool, fetching the latest version from GitHub.

refactor(logger): improve logging during commit message generation

- Enhance logging to provide better insights into the Azure AD token generation process.
refactor(cmd): simplify PersistentPreRunE function signature to ignore command variable
This change introduces an informational log statement that logs the commit message immediately before the commit action is executed, aiding in debugging and traceability.
Ensure proper formatting of commit message in logs.
Ensure the commit message log is consistently formatted.
Commented out the testing step in the CI configuration to streamline the process until tests are reintroduced.
@jsburckhardt jsburckhardt merged commit f4a645d into main Sep 12, 2024
3 checks passed
@jsburckhardt jsburckhardt deleted the feat/add-installation-script branch October 24, 2024 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0