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

Release Version 3.0.0-alpha.1 #347

Merged
merged 474 commits into from
Oct 15, 2023
Merged

Release Version 3.0.0-alpha.1 #347

merged 474 commits into from
Oct 15, 2023

Conversation

da2ce7
Copy link
Contributor

@da2ce7 da2ce7 commented Oct 15, 2023

No description provided.

josecelano and others added 30 commits May 19, 2023 18:20
Decoupling services from actix-web framework.
Decoupling services from actix-web framework.
Decoupling services from actix-web framework.
5396301 refactor: [#157] extract authentication service (Jose Celano)
8101048 refactor: [#157] extract service to ban users (Jose Celano)
2eb0f7c refactor: [#157] extract service for user registration (Jose Celano)
1abcc4d refactor: [#157] extract service: torrent (Jose Celano)
0387b97 refactor: [#157] extract service: settings (Jose Celano)
c9fb249 refactor: [#157] extract service: proxy (Jose Celano)
d58f3cc refactor: [#157] extract service: category (Jose Celano)
baa4c7e refactor: [#157] extract service: about (Jose Celano)

Pull request description:

  - [x] Extract `about` service.
  - [x] Extract `category` service.
  - [x] Extract `proxy` service.
  - [x] Extract `settings` service.
  - [x] Extract `torrent` service.
  - [x] Extract `user` registration service.
  - [x] Extract `user` ban service.
  - [x] Extract `user` authentication service.

ACKs for top commit:
  josecelano:
    ACK 5396301

Tree-SHA512: b63a45f3eb8aaab0d51c885793c94e85979273128d9cb94e36a4ed7577a399105e9dcef9624077b4ae07c8aac03f6520eb1823944e2b44554d1bd85ad8c9e281
9ca7341 docs(api): [#163] API documentation on docs.rs (Jose Celano)

Pull request description:

  API documentation on [docs.rs](https://docs.rs/torrust-index-backend).

  API Contexts:

  - [x] `about`
  - [x] `category`
  - [x] `proxy`
  - [x] `settings`
  - [x] `torrent`
  - [x] `user`

ACKs for top commit:
  josecelano:
    ACK 9ca7341

Tree-SHA512: a630056d9d9ce6e21f60538e1fdaabfb3c3fc1efd23e2d4e03408b0a32711a8f75d2b154d5b70a211e93d944f7a8386cb851b48cae593e45a3fc11df1763aef7
9baedfb docs: [#166] installation and configuration (Jose Celano)

Pull request description:

  Move installation and configuration docs to Rust [Documentation Comments](https://doc.rust-lang.org/book/ch14-02-publishing-to-crates-io.html#making-useful-documentation-comments).

Top commit has no ACKs.

Tree-SHA512: 4667d630446b45e1b73485f8c64b0dc4aa59e980aa4896f96b77dff9c13a1e84b5308428fd8ffa00708b1500401ab0c52cce96ecf08e26abd99c96a3ac8b9b91
5485589 refactor: remove unneeded code (Jose Celano)
93d1b64 docs: [#168] statistics importer console command (Jose Celano)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 1d5f8b787ae94b418aaea50bee045fa080f8b200cac1f22e514c8a9a4c3548d504f9c92a1eabbc4658530522d798a139ea07d6f012d3167cc70728f0e921f322
Documentation for the command to upgrade the application.
d7f51fa docs: [#169] app upgrader documentation (Jose Celano)

Pull request description:

  Documentation for the command to upgrade the application.

Top commit has no ACKs.

Tree-SHA512: 1c1aa1876fe28836a12c77ff7a76f5877dd443fd98f12ffd3d2ddc603f73dec7776b120370a5ddf8039f98b8c4f272e769a4aa4f24d67f42c02ce0bcad57b660
We decided to migrate from Actix Web to Axum. The main reason was we are
also using Axum on the Tracker and it will be easier for us to mantain
only one framework. And apparently there are no drawbacks.

This commit adds the new dependencies.
When the loggin level is set to INFO sqlx logs all SQL statements like
this:

```
2023-06-06T17:19:52.639651375+01:00 [sqlx::query][INFO] SELECT version FROM _sqlx_migrations …; rows affected: 0, rows returned: 0, elapsed: 58.361µs

SELECT
  version
FROM
  _sqlx_migrations
WHERE
  success = false
ORDER BY
  version
LIMIT
  1
```

This commits makes sqlc to log only failed statements as errors and slow
statements (>1 second) as warnings.
Basic changes needed to run the Axum API implementation in parallel with the current one with ActixWeb.

For the time being, we will be only useinf the Auxm implementation for testing until all endpoints are migrated.
d08f70e refactor(api): [#174] Axum API scaffolding (Jose Celano)
7bcf20e feat: disable sqlx logging for all statements (Jose Celano)
7347fee feat(api): [#174] new cargo dependencies: axum, hyper (Jose Celano)

Pull request description:

  Basic changes which are needed to run the Axum API implementation in parallel with the current one with ActixWeb. For the time being the Axum implementation will be only used for testing until all endpoints are migrated.

Top commit has no ACKs.

Tree-SHA512: 6d0b8ed20329e91ba92bf5d78caf366b1fb61c2048040154b68da876878cd73f5de372be0955c492b82f307cbe8786d702ce86dbfa201900d6d98ea1913ba85b
3edd507 docs: [#97] update README (Jose Celano)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: cb0002a0733e9ae5e2648d3bff3ad0fbb020f385caec68b77fac74f54af249504fd9e8ad4ff499e223bbdc8f653061b8916580ed7ea51d077c1e057e358b93c0
```toml
log_level = "info"
```

The level can be:

- `off`
- `error`
- `warn`
- `info`
- `debug`
- `trace`
The log has some errors we need to fix. See:

#176
68e2132 refactor: disable logging for testing (Jose Celano)
0264e5c feat: [#177] new config option for log level (Jose Celano)

Pull request description:

  ```toml
  log_level = "info"
  ```

  The level can be:

  - `off`
  - `error`
  - `warn`
  - `info`
  - `debug`
  - `trace`

  It's optional. The default value is `info`.

Top commit has no ACKs.

Tree-SHA512: 7bb55827fefa093bf5a64295047fe237b23e76c239c9385793a73e11570e1eecd73d5c07e09625ac5d4236a46f149bff0ff462d3b54779cd836bbe3921a8232b
1924365 refactor(api): [#178] axum API, 'about' context migrated (Jose Celano)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: bfa8d3ce6b1d5f59fdf6f35619c0e0a552ce49df7a9cb89081dc7f29e3f6dfb18216dde9c722e3f3610079987dcc68664c062eaff4c7d3948ff9aa243d1add56
4730afd chore: clippy errors (Warm Beer)
a6cf184 chore: cargo fmt (Warm Beer)
4286ba9 feat: added filtering torrents on tags (Warm Beer)
a1bd92f fix: sql queries (Warm Beer)
7ce3d5e feat: torrent tags (Warm Beer)

Pull request description:
da2ce7 and others added 28 commits October 12, 2023 08:08
ca05034 ci: add labels sync workflow (Cameron Garnham)
4100d8d ci: add dependabot file (Cameron Garnham)
41be37a github: add codeowners file (Cameron Garnham)

Pull request description:

  Some basic workflow updates to match the torrust-tracker repo.

ACKs for top commit:
  da2ce7:
    ACK ca05034

Tree-SHA512: fa5584bb4e464c8a62d3ab392fdbfd1594ebab7088d0418e04425418d1a8a4f7251e2bdac2b37005629c32725811c88e037fd2dec99cae43b0c6479a945a898b
f59b16e ci: update testing workflow (Cameron Garnham)
4dc795f chore: update cargo lockfile (Cameron Garnham)
5495658 ci: small fixes (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK f59b16e

Tree-SHA512: e99bd3808ddaa7818a4507841ec066647a83d070fb98553e7370677c0342b2b84ab1d7761bbb1e653e4bd33feaa1282c45360ee8e5ba66d7ffe1921773b9cbac
small changes included:
- move to deployment workflow
- move copyright to readme
- remove common license files
b6cfcc3 various: change name to `torrust-index` (Cameron Garnham)

Pull request description:

  small changes included:
  - move to deployment workflow
  - move copyright to readme
  - remove common license files

ACKs for top commit:
  da2ce7:
    ACK b6cfcc3

Tree-SHA512: 5481623bb6320971ef53f359f2684f9200ba133ded0946572b4028e6a0ebf642bf3e63df69db54e8a540f0117a3b558acd9509a3d2bf066758697f19be9a9811
b7448e8 chore: update deps (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK b7448e8

Tree-SHA512: b1927066b2b481814db51d443d3e0b1abc3453ccc43af99d6956a833af92e974aaa4dda84b94b82c6d1e8ec159c065fb247ae5ef96901c73c60ac02fc828da19
67555d9 ci: avoid rust `cargo check` bug (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK 67555d9

Tree-SHA512: 217ea4d4f690bf920f9dd0a6ad5b41f7ef370f5e2641a872e858a3d0c138172b5586ffe8b381e4668e66183daa351306cd4c9302adb0eaa87b3d02a9569cad96
047359d ci: temp: clean before build (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK 047359d

Tree-SHA512: 6a0eee04cddf50e4c9e7ca63049cb0dd144abbea2503539c7d7effa6daff48fba76f6b66cc252d2f64ce74261b89c1ce137d9a78fa20c415e477ffb1bca0446a
b0f2913 chore: format cargo file (Cameron Garnham)
f610b92 dev: replace sailfish with tera (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK b0f2913

Tree-SHA512: fff077574765d135fd2cbc038da2df83b4e7b2cd4846a7750d5edd71ae56b90335e52cceb154514ce634403e1cf5efb1c28e7511fe45872919dbd6425751b21e
many copy-paste from torrust-tracker

- intergration tests are disabled for now.
1f5351d dev: upgrade containers (Cameron Garnham)

Pull request description:

  many copy-paste from torrust-tracker

  - intergration tests are disabled for now.

ACKs for top commit:
  da2ce7:
    ACK 1f5351d

Tree-SHA512: 0bde3200efcde1ee914608e8d5aed322b7f763dacd7757bf5d0bffd98b2b26470cec6fe2ee1a8831322f57090373891cb7bdf86410200960af258d04ab63cdc5
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.9.3 to 2.0.2.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](indexmap-rs/indexmap@1.9.3...2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
3a9954e various: work on readme (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK 3a9954e

Tree-SHA512: cf62723ce1999b84665421b1c8ed099ba907b86816bdf88e867df5b640ea96ba8f05e9953efacd1bc52de027a0288eb9c0da1f23e1cb0f7c5be2f625926760d4
e93e5cd docs: add release process (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK e93e5cd

Tree-SHA512: 85c3af184402a32a4700db2477025c85009acf197893842785e2e64f1587f6794a3bba49753bcb3fce03fe1c0153b68b37e6a82a4cd580b2bb393f073a87a88f
@da2ce7
Copy link
Contributor Author

da2ce7 commented Oct 15, 2023

ACK 27afd4e

@da2ce7 da2ce7 merged commit 0b95a3a into main Oct 15, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants