Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c1b9f17
Bump the all group across 1 directory with 3 updates
dependabot[bot] Feb 11, 2026
0daefb3
Bump actions/download-artifact from 7 to 8
dependabot[bot] Feb 27, 2026
f4ed785
Bump actions/upload-artifact from 6 to 7
dependabot[bot] Feb 27, 2026
38d50f2
Bump docker/login-action from 3 to 4
dependabot[bot] Mar 5, 2026
ec30412
Bump docker/build-push-action from 6 to 7
dependabot[bot] Mar 6, 2026
56e72d7
Merge pull request #252 from essentialkaos/dependabot/github_actions/…
andyone Mar 10, 2026
2e786c7
Merge pull request #251 from essentialkaos/dependabot/github_actions/…
andyone Mar 10, 2026
5075b0d
Merge pull request #249 from essentialkaos/dependabot/github_actions/…
andyone Mar 10, 2026
07f5cf5
Merge pull request #250 from essentialkaos/dependabot/github_actions/…
andyone Mar 10, 2026
d30cc14
Merge pull request #248 from essentialkaos/dependabot/go_modules/deve…
andyone Mar 10, 2026
b748c63
Add cooldown to dependabot configuration
andyone Apr 21, 2026
3932103
Migrate to ek.v14
andyone Apr 21, 2026
4d1560e
Bump version
andyone Apr 21, 2026
390fa3f
Bump the all group across 1 directory with 2 updates
dependabot[bot] Apr 21, 2026
6d0f811
Merge pull request #256 from essentialkaos/dependabot/go_modules/deve…
andyone Apr 21, 2026
a13cf3a
Improve README
andyone Apr 22, 2026
e62abed
Merge branch 'develop' of github.com:essentialkaos/rep into develop
andyone Apr 22, 2026
9b32d45
Dependencies update
andyone Apr 22, 2026
5e114de
Fix tests
andyone Apr 22, 2026
4882310
Update minimal required version of Go
andyone Apr 22, 2026
194683a
Bump github.com/essentialkaos/ek/v14 in the all group
dependabot[bot] Apr 28, 2026
0b8ab83
Merge pull request #258 from essentialkaos/dependabot/go_modules/deve…
andyone Apr 28, 2026
0db5127
Update minimal required version of Go
andyone Apr 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ updates:
- package-ecosystem: "gomod"
directory: "/"
target-branch: "develop"
cooldown:
default-days: 7
exclude:
- "github.com/essentialkaos/*"
- "golang.org/x/*"
schedule:
interval: "daily"
timezone: "Etc/UTC"
Expand All @@ -24,6 +29,8 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "develop"
cooldown:
default-days: 7
schedule:
interval: "daily"
timezone: "Etc/UTC"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
fetch-depth: 0

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:

- name: Build and push Docker images (Docker)
if: ${{ steps.build_check.outputs.build == 'true' }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
push: true
context: .
Expand All @@ -146,7 +146,7 @@ jobs:

- name: Build and push Docker images (GHCR)
if: ${{ steps.build_check.outputs.build == 'true' }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
push: true
context: .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions/checkout@v6

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v4
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
if: ${{ env.DOCKERHUB_USERNAME != '' }}
Expand All @@ -52,7 +52,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: createrepo_c --version

- name: Upload built artifacts
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: createrepo_c
path: ${{github.workspace}}/.local/bin/createrepo_c
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
cache: false

- name: Download pre-built artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: createrepo_c
path: ${{github.workspace}}/.local/bin
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
uses: actions/checkout@v6

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<p align="center"><a href="#readme"><img src=".github/images/card.svg"/></a></p>

<p align="center">
<a href="https://kaos.sh/r/rep"><img src="https://kaos.sh/r/rep.svg" alt="GoReportCard" /></a>
<a href="https://kaos.sh/y/ek"><img src="https://kaos.sh/y/ba1bd149e31f4a00abf72ac930aedac9.svg" alt="Codacy badge" /></a>
<a href="https://kaos.sh/w/rep/ci-push"><img src="https://kaos.sh/w/rep/ci-push.svg" alt="GitHub Actions CI Status" /></a>
<a href="https://kaos.sh/w/rep/codeql"><img src="https://kaos.sh/w/rep/codeql.svg" alt="GitHub Actions CodeQL Status" /></a>
<a href="https://kaos.sh/r/rep"><img src="https://goreportcard.com/badge/github.com/essentialkaos/rep" alt="GoReportCard" /></a>
<a href="https://kaos.sh/y/ek"><img src="https://app.codacy.com/project/badge/Grade/ba1bd149e31f4a00abf72ac930aedac9" alt="Codacy badge" /></a>
<a href="https://kaos.sh/w/rep/ci-push"><img src="https://github.com/essentialkaos/rep/actions/workflows/ci-push.yml/badge.svg" alt="GitHub Actions CI Status" /></a>
<a href="https://kaos.sh/w/rep/codeql"><img src="https://github.com/essentialkaos/rep/actions/workflows/codeql.yml/badge.svg" alt="GitHub Actions CodeQL Status" /></a>
<a href="#license"><img src=".github/images/license.svg"/></a>
</p>

Expand Down Expand Up @@ -58,8 +58,8 @@ Official Docker images with `rep`:

| Branch | Status |
|--------|--------|
| `master` | [![CI](https://kaos.sh/w/rep/ci-push.svg?branch=master)](https://kaos.sh/w/rep/ci-push?query=branch:master) |
| `develop` | [![CI](https://kaos.sh/w/rep/ci-push.svg?branch=develop)](https://kaos.sh/w/rep/ci-push?query=branch:develop) |
| `master` | [![CI](https://github.com/essentialkaos/rep/actions/workflows/ci-push.yml/badge.svg?branch=master)](https://kaos.sh/w/rep/ci-push?query=branch:master) |
| `develop` | [![CI](https://github.com/essentialkaos/rep/actions/workflows/ci-push.yml/badge.svg?branch=develop)](https://kaos.sh/w/rep/ci-push?query=branch:develop) |

### Contributing

Expand Down
62 changes: 31 additions & 31 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,35 @@ import (
"os"
"sync/atomic"

"github.com/essentialkaos/ek/v13/errors"
"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/fmtutil"
"github.com/essentialkaos/ek/v13/fsutil"
"github.com/essentialkaos/ek/v13/knf"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/pager"
"github.com/essentialkaos/ek/v13/progress"
"github.com/essentialkaos/ek/v13/signal"
"github.com/essentialkaos/ek/v13/sortutil"
"github.com/essentialkaos/ek/v13/spinner"
"github.com/essentialkaos/ek/v13/support"
"github.com/essentialkaos/ek/v13/support/apps"
"github.com/essentialkaos/ek/v13/support/deps"
"github.com/essentialkaos/ek/v13/system"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v13/terminal/input"
"github.com/essentialkaos/ek/v13/terminal/tty"
"github.com/essentialkaos/ek/v13/usage"
"github.com/essentialkaos/ek/v13/usage/completion/bash"
"github.com/essentialkaos/ek/v13/usage/completion/fish"
"github.com/essentialkaos/ek/v13/usage/completion/zsh"
"github.com/essentialkaos/ek/v13/usage/man"
"github.com/essentialkaos/ek/v13/usage/update"

knfv "github.com/essentialkaos/ek/v13/knf/validators"
knff "github.com/essentialkaos/ek/v13/knf/validators/fs"
knfr "github.com/essentialkaos/ek/v13/knf/validators/regexp"
knfs "github.com/essentialkaos/ek/v13/knf/validators/system"
"github.com/essentialkaos/ek/v14/errors"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/fmtutil"
"github.com/essentialkaos/ek/v14/fsutil"
"github.com/essentialkaos/ek/v14/knf"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/pager"
"github.com/essentialkaos/ek/v14/progress"
"github.com/essentialkaos/ek/v14/signal"
"github.com/essentialkaos/ek/v14/sortutil"
"github.com/essentialkaos/ek/v14/spinner"
"github.com/essentialkaos/ek/v14/support"
"github.com/essentialkaos/ek/v14/support/apps"
"github.com/essentialkaos/ek/v14/support/deps"
"github.com/essentialkaos/ek/v14/system"
"github.com/essentialkaos/ek/v14/terminal"
"github.com/essentialkaos/ek/v14/terminal/input"
"github.com/essentialkaos/ek/v14/terminal/tty"
"github.com/essentialkaos/ek/v14/usage"
"github.com/essentialkaos/ek/v14/usage/completion/bash"
"github.com/essentialkaos/ek/v14/usage/completion/fish"
"github.com/essentialkaos/ek/v14/usage/completion/zsh"
"github.com/essentialkaos/ek/v14/usage/man"
"github.com/essentialkaos/ek/v14/usage/update"

knfv "github.com/essentialkaos/ek/v14/knf/validators"
knff "github.com/essentialkaos/ek/v14/knf/validators/fs"
knfr "github.com/essentialkaos/ek/v14/knf/validators/regexp"
knfs "github.com/essentialkaos/ek/v14/knf/validators/system"

"github.com/essentialkaos/rep/v3/repo/index"
)
Expand All @@ -50,7 +50,7 @@ import (
// App info
const (
APP = "rep"
VER = "3.5.11"
VER = "3.6.0"
DESC = "Package repository management tool"
)

Expand Down Expand Up @@ -245,7 +245,7 @@ func Init(gitRev string, gomod []byte) {

if !errs.IsEmpty() {
terminal.Error("Options parsing errors:")
terminal.Error(errs.Error("- "))
terminal.Error(errs.ErrorWithPrefix(" - "))
os.Exit(EC_ERROR)
}

Expand Down
12 changes: 6 additions & 6 deletions cli/cmd_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (
"fmt"
"os"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/path"
"github.com/essentialkaos/ek/v13/spinner"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v13/terminal/input"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/path"
"github.com/essentialkaos/ek/v14/spinner"
"github.com/essentialkaos/ek/v14/terminal"
"github.com/essentialkaos/ek/v14/terminal/input"

"github.com/essentialkaos/rep/v3/repo/data"
"github.com/essentialkaos/rep/v3/repo/rpm"
Expand Down
30 changes: 15 additions & 15 deletions cli/cmd_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ import (
"crypto/sha256"
"fmt"

"github.com/essentialkaos/ek/v13/errors"
"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/fmtutil"
"github.com/essentialkaos/ek/v13/fsutil"
"github.com/essentialkaos/ek/v13/hashutil"
"github.com/essentialkaos/ek/v13/mathutil"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/path"
"github.com/essentialkaos/ek/v13/pluralize"
"github.com/essentialkaos/ek/v13/progress"
"github.com/essentialkaos/ek/v13/sortutil"
"github.com/essentialkaos/ek/v13/strutil"
"github.com/essentialkaos/ek/v13/system"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v13/terminal/input"
"github.com/essentialkaos/ek/v14/errors"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/fmtutil"
"github.com/essentialkaos/ek/v14/fsutil"
"github.com/essentialkaos/ek/v14/hashutil"
"github.com/essentialkaos/ek/v14/mathutil"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/path"
"github.com/essentialkaos/ek/v14/pluralize"
"github.com/essentialkaos/ek/v14/progress"
"github.com/essentialkaos/ek/v14/sortutil"
"github.com/essentialkaos/ek/v14/strutil"
"github.com/essentialkaos/ek/v14/system"
"github.com/essentialkaos/ek/v14/terminal"
"github.com/essentialkaos/ek/v14/terminal/input"

"github.com/essentialkaos/rep/v3/repo"
"github.com/essentialkaos/rep/v3/repo/sign"
Expand Down
6 changes: 3 additions & 3 deletions cli/cmd_cleanup.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"sort"
"strings"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/terminal"

"github.com/essentialkaos/rep/v3/repo"
)
Expand Down
6 changes: 3 additions & 3 deletions cli/cmd_find.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ package cli
import (
"fmt"

"github.com/essentialkaos/ek/v13/fmtutil"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v14/fmtutil"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/terminal"

"github.com/essentialkaos/rep/v3/cli/query"
"github.com/essentialkaos/rep/v3/repo"
Expand Down
16 changes: 8 additions & 8 deletions cli/cmd_gen_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import (
"regexp"
"strings"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/fsutil"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/passwd"
"github.com/essentialkaos/ek/v13/secstr"
"github.com/essentialkaos/ek/v13/spinner"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v13/terminal/input"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/fsutil"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/passwd"
"github.com/essentialkaos/ek/v14/secstr"
"github.com/essentialkaos/ek/v14/spinner"
"github.com/essentialkaos/ek/v14/terminal"
"github.com/essentialkaos/ek/v14/terminal/input"

"github.com/essentialkaos/rep/v3/repo/sign/keygen"
)
Expand Down
12 changes: 6 additions & 6 deletions cli/cmd_help.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (
"slices"
"strings"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/fmtutil"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/sliceutil"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v13/usage"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/fmtutil"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/sliceutil"
"github.com/essentialkaos/ek/v14/terminal"
"github.com/essentialkaos/ek/v14/usage"

"github.com/essentialkaos/rep/v3/cli/query"
"github.com/essentialkaos/rep/v3/repo/data"
Expand Down
18 changes: 9 additions & 9 deletions cli/cmd_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ import (
"strings"
"time"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/fmtutil"
"github.com/essentialkaos/ek/v13/fsutil"
"github.com/essentialkaos/ek/v13/hashutil"
"github.com/essentialkaos/ek/v13/lscolors"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/strutil"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v13/timeutil"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/fmtutil"
"github.com/essentialkaos/ek/v14/fsutil"
"github.com/essentialkaos/ek/v14/hashutil"
"github.com/essentialkaos/ek/v14/lscolors"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/strutil"
"github.com/essentialkaos/ek/v14/terminal"
"github.com/essentialkaos/ek/v14/timeutil"

"github.com/essentialkaos/rep/v3/repo"
"github.com/essentialkaos/rep/v3/repo/data"
Expand Down
8 changes: 4 additions & 4 deletions cli/cmd_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ package cli
import (
"slices"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/sliceutil"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/sliceutil"
"github.com/essentialkaos/ek/v14/terminal"

"github.com/essentialkaos/rep/v3/repo/data"
)
Expand Down
8 changes: 4 additions & 4 deletions cli/cmd_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"regexp"
"strings"

"github.com/essentialkaos/ek/v13/fmtc"
"github.com/essentialkaos/ek/v13/fmtutil"
"github.com/essentialkaos/ek/v13/options"
"github.com/essentialkaos/ek/v13/terminal"
"github.com/essentialkaos/ek/v14/fmtc"
"github.com/essentialkaos/ek/v14/fmtutil"
"github.com/essentialkaos/ek/v14/options"
"github.com/essentialkaos/ek/v14/terminal"

"github.com/essentialkaos/rep/v3/repo"
"github.com/essentialkaos/rep/v3/repo/data"
Expand Down
Loading
Loading