Package Details: resticprofile 0.29.1-1

Git Clone URL: https://aur.archlinux.org/resticprofile.git (read-only, click to copy)
Package Base: resticprofile
Description: Configuration profiles manager and scheduler for restic backup
Upstream URL: https://github.com/creativeprojects/resticprofile
Licenses: GPL3
Submitter: metalspork
Maintainer: yan12125 (lilac)
Last Packager: lilac
Votes: 8
Popularity: 0.89
First Submitted: 2021-02-09 03:30 (UTC)
Last Updated: 2025-02-06 21:08 (UTC)

Latest Comments

1 2 Next › Last »

yan12125 commented on 2025-02-16 03:13 (UTC)

Thanks. Seems go get without more arguments is an undocumented usage? If I understand descriptions and examples in go help get correctly, the command requires some more arguments.

dreieck commented on 2025-02-11 15:13 (UTC) (edited on 2025-02-11 15:14 (UTC) by dreieck)

Could you propose a diff for using go get

Just take your diff and replace your go mod download with go get. (I tried it.)

I'm not familiar with Go toolchain

Me neither.
I learned it "the hard way" and someone suggested it.

yan12125 commented on 2025-02-11 13:32 (UTC)

@dreieck: Could you propose a diff for using go get? I'm not familiar with Go toolchain and don't have time to study it in near future.

dreieck commented on 2025-02-09 14:24 (UTC)

Ahoj,
you also need to make the license identifier SPDX compliant:

resticprofile E: GPL3 is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Regards!

dreieck commented on 2025-02-09 14:23 (UTC) (edited on 2025-02-09 14:25 (UTC) by dreieck)

Ahoj,

Could you check whether this change works for you or not?

[...] go mod download [...]

go mod download has the drawback that the downloaded files have permissions which forbit deletion -- thus running into trouble on cleanup.

Use go get instead. This also prints informational messages to the terminal.

Regards!

yan12125 commented on 2024-08-19 09:09 (UTC)

dreieck: Thanks! These points make sense. Could you check whether this change works for you or not?

diff --git a/archlinuxcn/resticprofile/PKGBUILD b/archlinuxcn/resticprofile/PKGBUILD
index ab4b9c3ac3e..e1f31a207fc 100644
--- a/archlinuxcn/resticprofile/PKGBUILD
+++ b/archlinuxcn/resticprofile/PKGBUILD
@@ -15,6 +15,12 @@ options=(!lto)
 source=("git+https://github.com/creativeprojects/resticprofile.git#tag=v$pkgver")
 sha256sums=('37cccfa7da36e87b04a4a1d1b59d3cb559f9970002ea6a9dd678f20e65a8bf4b')

+prepare() {
+    cd resticprofile
+
+    go mod download
+}
+
 build() {
     cd resticprofile

dreieck commented on 2024-08-18 13:05 (UTC) (edited on 2024-08-18 13:06 (UTC) by dreieck)

Hmm, what's the benefit of avoiding Internet connection in build() while still allowing it in prepare()?

The rust package guidelines already suggest this, the go guidelines are not (yet) that explicit.

  • One (for me, frequent) use case is that once a makepkg -sfo can be made (also batched or via wrappers, to download all packages to be updated/ installed at once), so that the time while beeing on "thick" internet can be used efficiently, and later the time consuming build can be done later when not anymore connected to internet or to "thick" internet (e.g. at home at 1Mbps).
  • Other use case (also needed sometimes for e.g. debugging): After a makepkg -sfo all sources are present, so if one wants to poke around before a build once can do and then just to makepkg -esf to build whatever is there after poking around.

yan12125 commented on 2024-07-11 12:39 (UTC)

Done!

DenisBY commented on 2024-07-11 07:52 (UTC)

Please add aarch64. It builds and runs perfectly on Pi4