Package Details: autorestic 1.8.3-1

Git Clone URL: https://aur.archlinux.org/autorestic.git (read-only, click to copy)
Package Base: autorestic
Description: Config driven, easy backup cli for restic
Upstream URL: https://github.com/cupcakearmy/autorestic
Keywords: backup
Licenses: Apache-2.0
Submitter: ishanarora
Maintainer: buckket (tippfehlr)
Last Packager: tippfehlr
Votes: 1
Popularity: 0.001068
First Submitted: 2022-12-26 05:29 (UTC)
Last Updated: 2024-09-11 18:48 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

tippfehlr commented on 2024-06-18 15:18 (UTC) (edited on 2024-06-18 16:53 (UTC) by tippfehlr)

I don’t think we should add GOPATH and GOCACHE, if you want to separate the go cache, use a chroot, but for most users a shared go cache makes more sense.

EDIT: you can also just pass the variables to makepkg.

what documentation do you mean to include?

dreieck commented on 2024-06-17 20:16 (UTC)

I have a feature request to add packaging the documentation files of usage (e.g. how to write the config file) into /usr/share/doc/autorestic/.

Regarding GOPATH and GOCACHE: I am fine with that.

Regards!

tippfehlr commented on 2024-06-11 10:06 (UTC)

Hi dreieck, I’ll add a go mod download to prepare().

To the second point: We could separate the go directories from ~/go with

export GOPATH="$srcdir/.gopath"
export GOCACHE="$srcdir/.gocache"

but I’ve looked through a few packages and couldn’t find that anywhere. The go packaging guidelines are not very specific, but if you want separation you could always build in a chroot.

@dreieck @buckket what do you think?

dreieck commented on 2024-06-09 12:36 (UTC)

Please move the go download stuff out of build() into prepare() so that build() can work offline and on already prepared source tree (below ${srcdir}!, please do not let go clutter the build user's home directory):

==> Starting build()...
go: downloading github.com/spf13/viper v1.11.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/spf13/cobra v1.4.0
go: downloading github.com/fatih/color v1.13.0
go: downloading github.com/blang/semver/v4 v4.0.0
go: downloading github.com/joho/godotenv v1.4.0
go: downloading github.com/robfig/cron v1.2.0
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/fsnotify/fsnotify v1.5.1
go: downloading github.com/magiconair/properties v1.8.6
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/spf13/afero v1.8.2
go: downloading github.com/mitchellh/mapstructure v1.4.3
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/spf13/cast v1.4.1
go: downloading gopkg.in/ini.v1 v1.66.4
go: downloading github.com/pelletier/go-toml v1.9.4
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f
go: downloading golang.org/x/text v0.3.8

Regards and thanks for maintaining!

tippfehlr commented on 2024-06-01 22:56 (UTC)

@buckket please update this, v1.8.2 was released on 2024-03-28

KaoriMiyazono commented on 2024-05-04 04:45 (UTC)

2c2
< pkgver=1.7.9
---
> pkgver=1.8.2
11c11
< sha256sums=('e57bbc045edee4aabd850da2e61da9c18a6d12bd323866be1eb3edca4709b363')
---
> sha256sums=('847a661bcf8bfdf282eca0dfd677293ad932726d357899c15a85b9238c4ea3da')

@buckket please update or add me as a maintainer.

etorres4 commented on 2024-01-20 05:30 (UTC) (edited on 2024-01-25 18:02 (UTC) by etorres4)

Hi, would it be possible to add shell completions? I've added the needed lines to package() and uploaded a patch on a pastebin: https://gist.github.com/etorres4/0f210d9571151c973135cf17bcb872a9

KaoriMiyazono commented on 2023-07-19 19:16 (UTC)

@ishanarora, can you add me as maintainer? I can take over the package.