mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-06 02:20:39 +00:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
5afad86e37 | |||
ba9e090695 | |||
|
05def04770 | ||
d85470459f | |||
1f69a7974a |
16
CHANGELOG.md
16
CHANGELOG.md
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.5.6] - 2022-03-10
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Add bash in docker image for hooks. @fariszr
|
||||||
|
|
||||||
|
## [1.5.5] - 2022-02-16
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Go version was updated from `1.16` to `1.17`
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Home directory was not being taken into account for loading configs.
|
||||||
|
|
||||||
## [1.5.4] - 2022-02-16
|
## [1.5.4] - 2022-02-16
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.16-alpine as builder
|
FROM golang:1.17-alpine as builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY go.* .
|
COPY go.* .
|
||||||
@@ -7,6 +7,6 @@ COPY . .
|
|||||||
RUN go build
|
RUN go build
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
RUN apk add --no-cache restic rclone
|
RUN apk add --no-cache restic rclone bash
|
||||||
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
||||||
CMD [ "autorestic" ]
|
CMD [ "autorestic" ]
|
||||||
|
@@ -61,7 +61,7 @@ func initConfig() {
|
|||||||
configPaths := []string{"."}
|
configPaths := []string{"."}
|
||||||
|
|
||||||
// Home
|
// Home
|
||||||
if home, err := homedir.Dir(); err != nil {
|
if home, err := homedir.Dir(); err == nil {
|
||||||
configPaths = append(configPaths, home)
|
configPaths = append(configPaths, home)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -5,6 +5,7 @@ This amazing people helped the project!
|
|||||||
- @agateblue - Docs, Pruning, S3.
|
- @agateblue - Docs, Pruning, S3.
|
||||||
- @g-a-c - Update/Install bugs.
|
- @g-a-c - Update/Install bugs.
|
||||||
- @jjromannet - Bug fixes.
|
- @jjromannet - Bug fixes.
|
||||||
|
- @fariszr - Bug fixes.
|
||||||
- @david-boles - Docs.
|
- @david-boles - Docs.
|
||||||
- @SebDanielsson - Brew.
|
- @SebDanielsson - Brew.
|
||||||
- @n194 - AUR Package.
|
- @n194 - AUR Package.
|
||||||
|
22
go.mod
22
go.mod
@@ -1,6 +1,6 @@
|
|||||||
module github.com/cupcakearmy/autorestic
|
module github.com/cupcakearmy/autorestic
|
||||||
|
|
||||||
go 1.16
|
go 1.17
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/blang/semver/v4 v4.0.0
|
github.com/blang/semver/v4 v4.0.0
|
||||||
@@ -12,3 +12,23 @@ require (
|
|||||||
github.com/spf13/cobra v1.1.3
|
github.com/spf13/cobra v1.1.3
|
||||||
github.com/spf13/viper v1.7.1
|
github.com/spf13/viper v1.7.1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/fsnotify/fsnotify v1.4.7 // indirect
|
||||||
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
||||||
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
||||||
|
github.com/magiconair/properties v1.8.1 // indirect
|
||||||
|
github.com/mattn/go-colorable v0.1.8 // indirect
|
||||||
|
github.com/mattn/go-isatty v0.0.12 // indirect
|
||||||
|
github.com/mitchellh/mapstructure v1.1.2 // indirect
|
||||||
|
github.com/pelletier/go-toml v1.2.0 // indirect
|
||||||
|
github.com/spf13/afero v1.1.2 // indirect
|
||||||
|
github.com/spf13/cast v1.3.0 // indirect
|
||||||
|
github.com/spf13/jwalterweatherman v1.0.0 // indirect
|
||||||
|
github.com/spf13/pflag v1.0.5 // indirect
|
||||||
|
github.com/subosito/gotenv v1.2.0 // indirect
|
||||||
|
golang.org/x/sys v0.0.0-20210331175145-43e1dd70ce54 // indirect
|
||||||
|
golang.org/x/text v0.3.2 // indirect
|
||||||
|
gopkg.in/ini.v1 v1.51.0 // indirect
|
||||||
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||||
|
)
|
||||||
|
@@ -17,7 +17,7 @@ import (
|
|||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
const VERSION = "1.5.4"
|
const VERSION = "1.5.6"
|
||||||
|
|
||||||
type OptionMap map[string][]interface{}
|
type OptionMap map[string][]interface{}
|
||||||
type Options map[string]OptionMap
|
type Options map[string]OptionMap
|
||||||
|
Reference in New Issue
Block a user