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

Use goreleaser for build process (#212) #216

Merged
merged 6 commits into from
Apr 30, 2024
Merged

Use goreleaser for build process (#212) #216

merged 6 commits into from
Apr 30, 2024

Conversation

mgdigital
Copy link
Collaborator

  • implement native multi-arch builds

  • Create ci.Dockerfile

  • Create .goreleaser.yml

  • Create goreleaser.Dockerfile


* implement native multi-arch builds

* Create ci.Dockerfile

* Create .goreleaser.yml

* Create goreleaser.Dockerfile

---------

Co-authored-by: mgdigital <mgdigital@users.noreply.github.com>
@mgdigital mgdigital mentioned this pull request Mar 11, 2024
@mgdigital mgdigital marked this pull request as draft March 11, 2024 11:03
@mgdigital mgdigital marked this pull request as ready for review April 30, 2024 13:24
@mgdigital
Copy link
Collaborator Author

Thanks @KyleSanderson , seems to be working well! The main change I made was not running the action for PRs.

@mgdigital mgdigital merged commit 6e49b87 into main Apr 30, 2024
6 checks passed
@mgdigital mgdigital deleted the goreleaser branch April 30, 2024 16:48
truecharts-admin referenced this pull request in truecharts/public May 5, 2024
… v0.8.0@c638773 by renovate (#21612)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/bitmagnet-io/bitmagnet](https://togithub.com/bitmagnet-io/bitmagnet)
| minor | `0.7.14` -> `v0.8.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>bitmagnet-io/bitmagnet
(ghcr.io/bitmagnet-io/bitmagnet)</summary>

###
[`v0.8.0`](https://togithub.com/bitmagnet-io/bitmagnet/releases/tag/v0.8.0)

[Compare
Source](https://togithub.com/bitmagnet-io/bitmagnet/compare/v0.7.14...v0.8.0)

#### Classifier reimplementation

The classifier has been re-implemented and now uses a DSL allowing for
full customisation. Several bugs have also been fixed, and a preparatory
database migration for search ordering has been added.

The classifier documentation can be found at
https://bitmagnet.io/tutorials/classifier.html.

#### Build reimplementation

The build has been re-implemented using
https://github.com/goreleaser/goreleaser, thanks to
[@&#8203;KyleSanderson](https://togithub.com/KyleSanderson). A number of
new platform-specific build artifacts are now available.

#### Seeders/Leechers bug

There has somehow been a bug present, since day 1, whereby seeders and
leechers were being swapped by the DHT crawler! This is fixed in 0.8.x.
The first beta included a migration that would fix existing data, but
the query just takes too long (for larger indexes), and so it has been
removed from the migration.

Until now, no-one noticed - but If you care and would like to fix this
in your index, you can run the following query, replacing the time with
the time at which you did the 0.8.x upgrade. Be warned, this query may
take a while for larger indexes! In time, much of the data will
naturally fix itself anyway as the S/L numbers get re-scraped by the
crawler when the torrent is re-discovered.

```sql
update torrents_torrent_sources set seeders = leechers, leechers = seeders where source = 'dht' and  updated_at < '2024-04-30 00:00:00+00';
```

#### What's Changed

- Create FUNDING.yml by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/219](https://togithub.com/bitmagnet-io/bitmagnet/pull/219)
- Fix angular cli version by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/220](https://togithub.com/bitmagnet-io/bitmagnet/pull/220)
- Torrent search: Fix for Safari on iOS. by
[@&#8203;josteink](https://togithub.com/josteink) in
[https://github.com/bitmagnet-io/bitmagnet/pull/235](https://togithub.com/bitmagnet-io/bitmagnet/pull/235)
- Classifier rewrite by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/213](https://togithub.com/bitmagnet-io/bitmagnet/pull/213)
- Fix slow migration of published_at field by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/240](https://togithub.com/bitmagnet-io/bitmagnet/pull/240)
- Fix slow migration by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/241](https://togithub.com/bitmagnet-io/bitmagnet/pull/241)
- Fix slow migration by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/242](https://togithub.com/bitmagnet-io/bitmagnet/pull/242)
- Keep a default placeholder value for published_at to avoid a breaking
change by [@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/243](https://togithub.com/bitmagnet-io/bitmagnet/pull/243)
- Add an order by updated_at column, as there may be many records with
the same published_at by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/244](https://togithub.com/bitmagnet-io/bitmagnet/pull/244)
- Add orphans option to reprocess command by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/245](https://togithub.com/bitmagnet-io/bitmagnet/pull/245)
- Use budgeted count for reprocess by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/246](https://togithub.com/bitmagnet-io/bitmagnet/pull/246)
- Bump golang.org/x/net from 0.20.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/bitmagnet-io/bitmagnet/pull/239](https://togithub.com/bitmagnet-io/bitmagnet/pull/239)
- Bump express from 4.18.2 to 4.19.2 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/bitmagnet-io/bitmagnet/pull/236](https://togithub.com/bitmagnet-io/bitmagnet/pull/236)
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/bitmagnet-io/bitmagnet/pull/231](https://togithub.com/bitmagnet-io/bitmagnet/pull/231)
- Bump follow-redirects from 1.15.5 to 1.15.6 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/bitmagnet-io/bitmagnet/pull/221](https://togithub.com/bitmagnet-io/bitmagnet/pull/221)
- Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/bitmagnet-io/bitmagnet/pull/218](https://togithub.com/bitmagnet-io/bitmagnet/pull/218)
- Add Nix shell and refactor actions by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/249](https://togithub.com/bitmagnet-io/bitmagnet/pull/249)
- Use goreleaser for build process
([#&#8203;212](https://togithub.com/bitmagnet-io/bitmagnet/issues/212))
by [@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/216](https://togithub.com/bitmagnet-io/bitmagnet/pull/216)
- Upgrade dependencies by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/250](https://togithub.com/bitmagnet-io/bitmagnet/pull/250)
- Don't run GHCR action on main by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/251](https://togithub.com/bitmagnet-io/bitmagnet/pull/251)
- Fix docsite plugin by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[https://github.com/bitmagnet-io/bitmagnet/pull/252](https://togithub.com/bitmagnet-io/bitmagnet/pull/252)

#### New Contributors

- [@&#8203;josteink](https://togithub.com/josteink) made their first
contribution in
[https://github.com/bitmagnet-io/bitmagnet/pull/235](https://togithub.com/bitmagnet-io/bitmagnet/pull/235)
- [@&#8203;KyleSanderson](https://togithub.com/KyleSanderson) made their
first contribution in
[https://github.com/bitmagnet-io/bitmagnet/pull/212](https://togithub.com/bitmagnet-io/bitmagnet/pull/212)

**Full Changelog**:
bitmagnet-io/bitmagnet@v0.7.14...v0.8.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM0MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
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.

2 participants