Giter VIP home page Giter VIP logo

Comments (14)

tilgovi avatar tilgovi commented on June 2, 2024

❤️

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

For anyone interested finding this, saved you a search: http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

Here is a working APKBUILD.

I opted not to install the symlinks because I haven't figured out how to easily make sure these get uninstalled correctly. We may want a --unlink before we do that, because entrykit itself is the source of truth for the list of commands.

Having never packaged for alpine before, do we maintain this in tree, in a branch, in a separate repo, ...?

# Contributor: Randall Leeds <[email protected]>
# Maintainer: Randall Leeds <[email protected]>
pkgname=entrykit
pkgver=0.4.0
pkgrel=0
pkgdesc="Entrypoint tools for elegant, programmable containers"
url="https://github.com/progrium/entrykit"
arch="x86_64"
license="MIT"
depends=""
depends_dev=""
makedepends="go"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/progrium/$pkgname/archive/v$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
    local i
    cd "$_builddir"
    for i in $source; do
        case $i in
        *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
        esac
    done
}

build() {
    cd "$_builddir"
    go build -a -ldflags "-X main.Version=$pkgver" -o $pkgname ./cmd
}

package() {
    cd "$_builddir"
    mkdir -p "$pkgdir"/usr/bin
    cp $pkgname "$pkgdir"/usr/bin
}

md5sums="10d9189782ca67a2a7de963ef05dd861  entrykit-0.4.0.tar.gz"
sha256sums="89a35754ff0a9beba3a6d2eb34bc6048476409536586908cf3e2c6afdb503463  entrykit-0.4.0.tar.gz"
sha512sums="79097b090af7bcaed31587d7ea81776698ac1bfa75defb4269e02da3f282d109fa1b68b3e8aca4351a3eb1fe1c0128c26853174f398b8d015b16a51a131ca6ca  entrykit-0.4.0.tar.gz"

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

Okay. I did more reading and see now the process is to submit it as a patch to the aports repo. I'll do this now!! :)

from entrykit.

progrium avatar progrium commented on June 2, 2024

Update?

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

Should I submit it to community or testing?

from entrykit.

progrium avatar progrium commented on June 2, 2024

Not sure. @andyshinn do you know what would be best?

from entrykit.

andyshinn avatar andyshinn commented on June 2, 2024

Submit it to testing first.

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

Thanks to help from @MattAitchison, we have mattaitchison/entrykit-apk now and I'm waiting to submit the 0.4.0r1 to alpine testing, but there are DNS issues currently.

We can close this.

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

Successfully, I think, submitted it to the alpine-aports list. Haven't received a bounce/spam notification this time, at least :). We'll see if it pops up in the archives later.

from entrykit.

andyshinn avatar andyshinn commented on June 2, 2024

They have a patchwork program that grabs patches for review. You can use it to verify stuff got through. In this case, yes it did: http://patchwork.alpinelinux.org/patch/1779/.

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

Thanks, @andyshinn!

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

Published in testing. Done.

from entrykit.

tilgovi avatar tilgovi commented on June 2, 2024

Can be closed.

from entrykit.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.