Bug 2175893 - Review Request: autorestic - Config driven, easy backup cli for restic
Summary: Review Request: autorestic - Config driven, easy backup cli for restic
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2175886 2188618
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-06 17:24 UTC by Major Hayden 🤠
Modified: 2023-07-31 14:00 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-07-31 14:00:04 UTC
Type: ---
Embargoed:
mikel: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 5798698 to 5799427 (402 bytes, patch)
2023-04-17 22:15 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 6220252 to 6220367 (1.49 KB, patch)
2023-07-28 15:26 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 6220367 to 6220562 (518 bytes, patch)
2023-07-28 17:58 UTC, Fedora Review Service
no flags Details | Diff

Comment 1 Major Hayden 🤠 2023-03-28 18:38:43 UTC
This should be okay for review now that BZ 2175886 for the dependency is complete.

Comment 2 Pavel Solovev 2023-04-13 17:44:27 UTC
> # Upstream does not provide tests.
> %bcond_with check

I think it does, there're some _test.go files in the repo.

Comment 3 Major Hayden 🤠 2023-04-17 15:10:57 UTC
Trying to unretire a required dependency: golang-github-robfig-cron

https://src.fedoraproject.org/rpms/golang-github-robfig-cron/pull-request/1

Comment 5 Pavel Solovev 2023-04-17 16:39:16 UTC
(In reply to Major Hayden 🤠 from comment #4)
> Got the tests working now.
They're still disabled, you need %bcond_without check

Comment 6 Major Hayden 🤠 2023-04-17 17:28:33 UTC
Oh, boy. That will teach me to have too many windows open at the same time. Thank you. 🤦‍♂️

Comment 8 Fedora Review Service 2023-04-17 22:15:24 UTC
Created attachment 1957905 [details]
The .spec file difference from Copr build 5798698 to 5799427

Comment 9 Major Hayden 🤠 2023-04-24 18:45:44 UTC
This should be unblocked now that BZ 2188618 is done.

Comment 10 Björn Persson 2023-07-22 14:15:14 UTC
Hello, I stumbled on this review request as I was investigating the state of the Restic package. Autorestic looks like it could be useful, as Restic lacks configuration files.

Are you aware that golang-github-robfig-cron is orphan and will get retired again in a few days?

Comment 11 Major Hayden 🤠 2023-07-24 13:02:58 UTC
Thanks for that heads up, Bjorn. That one looks pretty easy to maintain. I'll pick it up.

Comment 13 Mikel Olasagasti Uranga 2023-07-28 15:09:19 UTC
> # Generated by go2rpm 1.9.0
> 
> %bcond_without check

minor cosmetic change, but go2rpm template doesn't have that empty line



> Name:           autorestic

It's preferred to use the following after %gometa:

> %global goname doctl
> (...)
> Name:           %{goname}

You can use the `--name` flag in go2rpm to automate it.




> %gopkg
> (...)
> %gopkginstall
> (...)
> %gopkgfiles

You can remove these to make autorestic only a binary package and not to include `golang-github-cupcakearmy-autorestic-devel` package.

Comment 15 Fedora Review Service 2023-07-28 15:26:24 UTC
Created attachment 1980482 [details]
The .spec file difference from Copr build 6220252 to 6220367

Comment 17 Fedora Review Service 2023-07-28 17:58:25 UTC
Created attachment 1980506 [details]
The .spec file difference from Copr build 6220367 to 6220562

Comment 18 Mikel Olasagasti Uranga 2023-07-28 23:01:15 UTC
Approved, but please change to `Patch` instead of `Patch0`. 

I am not going to go through the whole fedora-review template, as this package uses go2rpm.

- [x] The specfile is sane.
- [x] License is correct
- [x] Builds successfully in mock
- [x] Package is installable (checked by fedora-review)
- [x] No relevant rpmlint errors
- [x] %check section passes
- [x] The latest version is packaged
- [x] `%goipath` is set correctly
- [x] Binaries don't conflict with binaries already in the distribution
- [x] The package complies with the Packaging Guidelines.

Package approved! On import, don't forget to do the following:

- [ ] Add package to release-monitoring.org
- [ ] Give go-sig privileges on package
- [ ] Close the review bug by referencing it in the rpm changelog and the Bodhi ticket.

Comment 19 Major Hayden 🤠 2023-07-31 13:23:48 UTC
Thank you, Mikel. I'll make a note of the to-do items here.

Comment 20 Fedora Admin user for bugzilla script actions 2023-07-31 13:24:23 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/autorestic

Comment 21 Fedora Update System 2023-07-31 13:56:46 UTC
FEDORA-2023-c378ff87de has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c378ff87de

Comment 22 Fedora Update System 2023-07-31 14:00:04 UTC
FEDORA-2023-c378ff87de has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.