Commit Graph

71 Commits

Author SHA1 Message Date
dependabot[bot] 146760d933
Bump serde from 1.0.139 to 1.0.141
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.139 to 1.0.141.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.141)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 22:05:10 +00:00
Martin Frost bac71d2b46
Merge pull request #4 from Frost/dependabot/cargo/serde-1.0.139
Bump serde from 1.0.138 to 1.0.139
2022-07-18 23:30:26 +02:00
dependabot[bot] 6ce3a30e55 Bump serde from 1.0.138 to 1.0.139
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.138 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.139)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 23:28:42 +02:00
dependabot[bot] 1c7f33458e
Merge pull request #3 from Frost/dependabot/cargo/clap-3.2.12 2022-07-18 12:25:59 +00:00
dependabot[bot] 0d9066ba13 Bump clap from 3.2.8 to 3.2.12
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.8 to 3.2.12.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.8...v3.2.12)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 14:20:57 +02:00
dependabot[bot] c49e26a580
Merge pull request #2 from Frost/dependabot/cargo/dirs-4.0.0 2022-07-18 12:20:38 +00:00
dependabot[bot] 9c63a8dda2 Bump dirs from 2.0.2 to 4.0.0
Bumps [dirs](https://github.com/soc/dirs-rs) from 2.0.2 to 4.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)

---
updated-dependencies:
- dependency-name: dirs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 14:17:35 +02:00
Martin Frost 3462cd009f Only run `cargo clippy` for non-dependabot 2022-07-18 14:17:12 +02:00
Martin Frost f7fd304ca7 Give the CI job write permissions to issues/PRs 2022-07-18 14:12:48 +02:00
Martin Frost 0e08d837a1
Update dependabot.yml
Remove erroneous config that was trying to use the default value anyway.
2022-07-18 13:58:30 +02:00
Martin Frost a38719f851 Don't push `format!` to existing str 2022-07-18 13:44:24 +02:00
Martin Frost 47af3e2e0b Update toolchain and dependencies 2022-07-18 13:44:24 +02:00
Martin Frost d820881275
Create dependabot.yml 2022-07-15 10:12:41 +02:00
Martin Frost d2bc1f6ff4 Fix typo in git-mob when author doesn't exist 2022-05-24 15:05:28 +02:00
Martin Frost 0859cf6b11 Make clippy happy with Rust 1.60 2022-05-16 13:31:00 +02:00
Martin Frost a5e35b546f v0.4.2 - with submodules
Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2022-05-13 18:46:27 +02:00
Martin Frost a7d930b216 Bump dependencies 2022-05-13 18:45:47 +02:00
Martin Frost 8ec0cba227 Write absolute path to commit.template config var
This means that `git-mob` will work in git submodules.

Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2022-05-13 18:26:16 +02:00
Martin Frost 6820d9b3ae v0.4.1 - ^^ 2021-12-26 23:38:45 +01:00
Martin Frost 5c5150fafb Use backwards-compatible bash syntax
MacOS still uses a very old version of bash, probably for open source
licencing reasons. Therefore, I cannot use modern substitutions like
`${foo^^}` and must fall back to using `tr` instead.
2021-12-26 23:35:04 +01:00
Martin Frost 854526724b v0.4.0 - Manual override 2021-12-25 20:07:12 +01:00
Martin Frost 201bb55bd0 Add manual assets with manpages to .deb 2021-12-25 19:59:06 +01:00
Martin Frost 5a90506317 Add skeleton manpages
These use `mdsh` and `mandown` in order to automatically insert the
`help` messages into the markdown files, and then compile them to proper
manpages files.

Try to build manpages with the rest of the build
2021-12-25 19:19:10 +01:00
Martin Frost 4de268ee20 Use clap for git-mob 2021-12-11 00:54:35 +01:00
Martin Frost 68e8e93bd0 Use clap for git-delete-coauthor 2021-12-11 00:54:35 +01:00
Martin Frost 2a4bcd896e Use clap for git-edit-coauthor 2021-12-11 00:41:09 +01:00
Martin Frost 2009e9335a Use clap for git-add-coauthor 2021-12-11 00:41:09 +01:00
Martin Frost b0067e9115 Use clap for git-solo 2021-12-11 00:41:09 +01:00
Martin Frost 7b3a10890d Add clap 3.0.0-rc.4 2021-12-11 00:39:37 +01:00
Martin Frost 2b2cdd54e5 Add more docs to structopt definitions
This makes the generated documentation a tad more explanatory.
2021-12-10 23:49:22 +01:00
Martin Frost c9603845d5 Add structopt for git-solo
This means that we can run `git-solo --help` and get some information on
what that command is doing. This was missing before.
2021-12-10 23:48:46 +01:00
Martin Frost ac1f066f43 Build .deb package 2021-08-24 00:08:06 +02:00
Martin Frost 8fc590906a v0.3.5 - More quiet
Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2021-08-20 22:51:50 +02:00
Martin Frost 9be6f97a5e Stop printing on stderr when adding first coauthor
Before this change, when running `git add-coauthor` without an existing
`~/.git-coauthors` file, the program would print an error message on
stderr that the file did not exist.

It would then create the file with the newly added co-author in it.

That message seemed unnecessary and so it has now been removed.

Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2021-08-20 22:43:05 +02:00
Martin Frost bb38091506 Update README with brew installation instructions
Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2021-08-20 22:18:49 +02:00
Martin Frost 95adc9a16d Build packages on branches that start with build-
Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2021-08-20 21:07:06 +02:00
Martin Frost 579a9d0ad4 Disable default-features for git2
The git2 default-features all have to do with ssh or ssh-keys. Those
require OpenSSL, which seems to be a bit tricky to get to compile
properly when cross-compiling on CI.

Also, since this project does not need those parts of the git2
dependency, we should be able to safely disable those features.

Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2021-08-20 21:07:06 +02:00
Martin Frost e2d54e40ff Add note about binary packages to README 2021-08-20 17:12:17 +02:00
Martin Frost 1971673660
Merge pull request #1 from Frost/ci
Add CI workflow for linting and tests
2021-08-18 23:23:44 +02:00
Martin Frost b5757b3feb Remove TravisCI config 2021-08-18 23:20:17 +02:00
Martin Frost 4061981c4b Build artifacts when on main
This makes it easier for everyone to install git-mob and friends, since
they don't have to compile it themselves anymore.
2021-08-18 23:20:17 +02:00
Martin Frost fe1c91cfa5 Fix format 2021-08-18 23:20:02 +02:00
Martin Frost 9d09b31602 Fix needless-borrow 2021-08-18 23:20:02 +02:00
Martin Frost a97e37a9f3 Use &str instead of &String
We don't need a new object here, a slice is fine.
2021-08-18 23:20:02 +02:00
Martin Frost 79b73ee75c Add CI workflow for linting and tests 2021-08-18 23:20:02 +02:00
Martin Frost e60fae7031 v0.3.4 - Print correct main author
This change makes `get_main_author` try to fetch `user.name` and
`user.email` from the current repo before falling back to a global
default.

Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2020-11-10 13:35:45 +01:00
Martin Frost 4575605991 v0.3.3 - Ensure commit.template is set
We currently ensure this by simply overriding any existing template.

This is of course sub-optimal, but the previous recommendation, to
globally set `commit.template` to a relative path would otherwise make
`git commit` crash when run in a repo without first creating that
template file, e.g. by running `git mob ...` or `git solo` in the
project directory before committing anything.

This way, we don't have to globally set `commit.template`, and git-mob
will still work.
2020-10-24 18:21:32 +02:00
Martin Frost 20997a0605 Rustfmt everything 2020-09-05 16:07:58 +02:00
Martin Frost a5ff50fd1b v0.3.2 - Fix typo in README 2020-06-19 13:52:49 +02:00
Martin Frost f45943f7a9 Fix typo in readme 2020-06-19 13:51:48 +02:00