Commit graph

565 commits

Author SHA1 Message Date
3af5e3d8cd chore(deps): temp use local copy of kxio while firming up it's API
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-09 10:05:07 +01:00
f255c44dfa feat: Replace own filesystem module with kxio lib
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
The filesystem, and the intended network module have been extracted into
their own library as they are used by more than one project, so they can
now be developed independently and updates shared.

Closes kemitix/git-next#9
2024-04-09 07:41:41 +01:00
8a66b46acc chore(deps): Add kxio dependency
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-09 07:41:41 +01:00
7e08640743 refactor(server): reduce complexity starting server
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-09 07:41:41 +01:00
1b0c09d3fe build(woodpecker): don't run todo checker on cron
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-08 20:32:10 +01:00
d2e0a7ce8c build(woodpecker): don't specify patch level for todo checker
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-08 20:32:10 +01:00
e863f4ad4a docs(license): update copyright name
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-08 20:32:10 +01:00
a1484939ab config(server): add token field to Forge
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-08 12:09:29 +01:00
aaaa975911 refactor(config): compare whole server config in one go 2024-04-08 12:09:29 +01:00
be01d106a4 feat(config): use accesors for hostname and user 2024-04-08 12:09:29 +01:00
3c4a0d52b1 feat(config): Add ApiToken newtype 2024-04-08 11:50:10 +01:00
abbd2e66e6 feat(actors/repo): add RepoActor::new
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-08 11:34:07 +01:00
c3f2266dc1 feat(config): Parse RepoConfig 2024-04-08 11:34:07 +01:00
d5e9b14e3d refactor(config): rename Config as ServerConfig 2024-04-08 08:33:46 +01:00
a4e781d4e4 feat(config): make RepoDetails Clone 2024-04-08 08:22:23 +01:00
77705035f9 feat(config): impl Display for RepoDetails
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-08 08:12:31 +01:00
e9685abf5f feat(config): Repos specify which branch to read config from
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-08 08:05:13 +01:00
b66b70c08b fix(server): fix typo
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/docker Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
ci/woodpecker/cron/todo-check Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful
2024-04-07 20:57:51 +01:00
4b64aa5a14 fix(config): update case for default forge_type
Some checks failed
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline failed
2024-04-07 20:55:16 +01:00
ca673f9545 feat(server): start repo actors
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-07 20:16:41 +01:00
34c5caaaa1 chore(deps): Add actix-rt dependency 2024-04-07 20:15:41 +01:00
eacefefe20 feat(server/actors): create stub RepoActor 2024-04-07 20:15:41 +01:00
3ac4894d68 feat(config): add ForgeDetails and RepoDetails types 2024-04-07 20:15:41 +01:00
634b040708 docs(readme): add build status badge 2024-04-07 19:44:06 +01:00
3c97754b3e chore(deps): add actix dependency 2024-04-07 19:27:07 +01:00
1de2bd2ecb feat(server): log parsed config
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-04-07 19:10:37 +01:00
f1041d6fe6 fix(config): parse the server file with sections 2024-04-07 19:10:37 +01:00
376830c8a6 chore(dev-deps): Add assert2 dependency 2024-04-07 18:53:39 +01:00
ef75ecda08 feat(server): log error when fails to load config 2024-04-07 18:37:01 +01:00
dc4110596f feat(config): implement Display for ForgeType 2024-04-07 18:36:27 +01:00
cf10aa3912 chore(ignore): Don't track user files
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
ci/woodpecker/cron/docker Pipeline was successful
ci/woodpecker/cron/todo-check Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful
2024-04-07 18:26:05 +01:00
edf551b72a build(docker): don't include Cargo.lock in image
Some checks failed
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
ci/woodpecker/cron/docker Pipeline was successful
ci/woodpecker/cron/todo-check Pipeline was successful
ci/woodpecker/cron/build Pipeline failed
2024-04-07 17:28:54 +01:00
ac37e9e199 build(woodpecker): run on cron and push to main
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Also removed sha hash from some docker images.
2024-04-07 17:27:05 +01:00
161377f54d build(woodpecker): TODO checker ignores git hook samples
Some checks failed
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline failed
ci/woodpecker/push/build Pipeline was successful
2024-04-07 17:17:49 +01:00
b5a1dd4326 build(docker): add Dockerfile and builder
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/docker Pipeline failed
ci/woodpecker/manual/build Pipeline failed
ci/woodpecker/manual/release Pipeline was successful
ci/woodpecker/manual/docker Pipeline was successful
ci/woodpecker/manual/todo-check Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
ci/woodpecker/cron/todo-check Pipeline failed
ci/woodpecker/cron/docker Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful
2024-04-07 16:20:04 +01:00
a3c52c7761 feat(config): rename propery url as hostname
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/todo-check Pipeline was successful
ci/woodpecker/push/docker Pipeline failed
2024-04-07 16:14:05 +01:00
cb0a7f7cd7 feat(config): rename property type as forge_type 2024-04-07 16:11:23 +01:00
cd8d236940 chore: cargo clippy fixes 2024-04-07 16:09:16 +01:00
cb46138cdc build(bacon): Add bacon.toml config 2024-04-07 16:06:10 +01:00
1d03fbfb06 build(woodpecker): Add initial CI 2024-04-07 16:04:58 +01:00
efb55e4b3b feat(server/config): Parse file 2024-04-07 13:47:39 +01:00
90f9ab8e96 feat(filesystem): Add read_file() 2024-04-07 13:46:59 +01:00
8d983418c5 chore(deps): Add terrors dependency 2024-04-07 13:46:45 +01:00
2c07bb5af3 refactor(filesystem): Use info! rather than event! 2024-04-07 13:26:02 +01:00
7155cf7628 chore(dev-deps): Add anyhow dependency 2024-04-07 13:21:55 +01:00
5df568ec6f chore(deps): Add serde dependency 2024-04-07 13:20:48 +01:00
ab1648bc2d chore(deps): Add toml dependency 2024-04-07 13:17:02 +01:00
1d42c63e53 chore(server): Rename server.rs as server/mod.rs
Server will be the more complex component, so prepare to add more
modules under server.
2024-04-07 13:17:02 +01:00
7890423077 feat(server): Add initial example server configuration 2024-04-07 13:17:01 +01:00
4a4da2f8c0 chore: Configure Renovate (#5)
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.

---
### Detected Package Files

 * `Cargo.toml` (cargo)

### Configuration Summary

Based on the default config's presets, Renovate will:

  - Start dependency updates only once this onboarding PR is merged
  - Enable Renovate Dependency Dashboard creation.
  - Use semantic commit type `fix` for dependencies and `chore` for all others if semantic commits are in use.
  - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories.
  - Group known monorepo packages together.
  - Use curated list of recommended non-monorepo package groupings.
  - Apply crowd-sourced package replacement rules.
  - Apply crowd-sourced workarounds for known problems with packages.

🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to `renovate.json` in this branch. Renovate will update the Pull Request description the next time it runs.

---

### What to Expect

It looks like your repository dependencies are already up-to-date and no Pull Requests will be necessary right away.

---

 Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions).

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

<!--renovate-config-hash:e80b4e42a3043bc12fa0640db4bac392d2bf770acf841360d7c8ceeeac2ec1a9-->

Co-authored-by: Renovate Bot <renovate@kemitix.net>
Reviewed-on: #5
Co-authored-by: renovate <renovate@noreply.kemitix.net>
Co-committed-by: renovate <renovate@noreply.kemitix.net>
2024-04-07 12:42:17 +01:00