Skip to content
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

V2.0.0 rc #38

Merged
merged 41 commits into from
May 25, 2021
Merged

V2.0.0 rc #38

merged 41 commits into from
May 25, 2021

Conversation

oknozor
Copy link
Owner

@oknozor oknozor commented Oct 9, 2020

No description provided.

- Fix parentheses in clap configuration
- Add Unlinking to README ToC
- Add author name to cog.toml
The `get` command offers an interface into the metadata described in
`bombadil.toml` configuration files. It can obtain information for:

- `dots`: name, target and source of each dot entry
- `hooks`: each hook command
- `path`: path of the current user's Toml Bombadil configuration
- `profiles`: each profile
- `vars`: name and value of each variable

This functionality was originally imagined for the purpose of offering
an integration for the [Wofi](https://hg.sr.ht/~scoopta/wofi)
menu/launcher. A script for that is added in the `contrib` folder.
@oknozor
Copy link
Owner Author

oknozor commented Oct 9, 2020

These are the minimal feature needed to bump to the next version.

Note :

  • I might have messed up when changing the "master" branch to "main", This will need a rebase and force push.
    Anyone working on this should rebase on this branch after that.
  • 2.0.0 is no longer the target version number, we will let cocogitto decide what the version should be based on the commit log.
  • next release candidate branch should be named something like "main-rc" or simply "rc" since the version number will be generated. I will document this in the contributor guideline.

@codecov
Copy link

codecov bot commented Oct 9, 2020

Codecov Report

Merging #38 (e4b6d58) into main (cd748d2) will increase coverage by 5.72%.
The diff coverage is 79.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
+ Coverage   71.91%   77.64%   +5.72%     
==========================================
  Files           7        8       +1     
  Lines         641     1297     +656     
==========================================
+ Hits          461     1007     +546     
- Misses        180      290     +110     
Impacted Files Coverage Δ
src/bin/bombadil.rs 0.00% <0.00%> (ø)
src/hook.rs 90.47% <ø> (+1.58%) ⬆️
src/settings.rs 73.07% <75.00%> (-0.26%) ⬇️
src/lib.rs 77.16% <78.96%> (-1.60%) ⬇️
src/state.rs 85.71% <85.71%> (ø)
src/templating.rs 90.47% <90.12%> (-2.26%) ⬇️
src/dots.rs 91.43% <91.52%> (+0.13%) ⬆️
src/gpg.rs 90.47% <92.00%> (+90.47%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd748d2...e4b6d58. Read the comment docs.

- Use armored gpg value instead of a unique encrypted store
- This allow to handle per var files secrets
- This is breaking the current gpg implementation user using this
feature will need to manually decrypt there secrets and add them back
to the approriate var file with `bombadil --add-secret`
oknozor and others added 4 commits October 10, 2020 15:31
This commit adds the ability to generate shell completions for Toml
Bombadil for several popular shells using `clap`'s builtin ability to
generate these scripts by introspecting the `App` and its `Args`.

An example for ZSH would be to run:
`bombadil generate-completions zsh > $an_fpath/_bombadil`.

This could also be utilized when packaging the app for various
distros.
- Move dot related function to dot module.
- Add the "ignore" field in dot config, allowing to ignore matched
files when creating symlinks.
- ignore field uses glob pattern to determine wich path should be
ignored.
@oknozor
Copy link
Owner Author

oknozor commented Oct 17, 2020

I will merge when #44 is completely implemented and documented, I guess manpages will wait for the next release.

@oknozor oknozor force-pushed the v2.0.0-rc branch 2 times, most recently from f5f8121 to 6eb0517 Compare May 15, 2021 12:03
@oknozor oknozor force-pushed the v2.0.0-rc branch 3 times, most recently from 4a04c58 to 3719985 Compare May 15, 2021 13:57
@oknozor oknozor force-pushed the v2.0.0-rc branch 5 times, most recently from df0de09 to ebd4bdf Compare May 16, 2021 15:58
@oknozor oknozor merged commit ea6eac4 into main May 25, 2021
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.

3 participants