Skip to content

Commit

Permalink
feat: add snapcraft.yaml for mirrorselect tool
Browse files Browse the repository at this point in the history
  • Loading branch information
haukened committed Nov 14, 2024
1 parent fbf749c commit 1d65b1d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: mirrorselect
summary: Mirrorselect is a tool to select the fastest Ubuntu mirrors
description: |
Mirrorselect is a tool to select the fastest Ubuntu mirrors.
It tests both TCP latency and HTTP download speed to determine the fastest
mirrors. Alternative to netselct and the mirror protocol.
adopt-info: mirrorselect
base: core24
grade: stable
confinement: strict

apps:
mirrorselect:
command: bin/mirrorselect
plugs:
- network

parts:
mirrorselect:
plugin: go
build-snaps: [go/1.23/stable]
source: https://github.com/haukened/mirrorselect
source-type: git
override-pull: |
snapcraftctl pull
snapcraftctl set-version "$(git describe --tags --abbrev=0 --always --match=v*.*.*)"

0 comments on commit 1d65b1d

Please sign in to comment.