Package Details: yadm-git 3.0.2.r0.ga5b1067-1

Git Clone URL: https://aur.archlinux.org/yadm-git.git (read-only, click to copy)
Package Base: yadm-git
Description: Yet Another Dotfiles Manager
Upstream URL: https://github.com/TheLocehiliosan/yadm
Licenses: GPL3
Conflicts: yadm
Provides: yadm
Submitter: kosciak
Maintainer: kosciak
Last Packager: kosciak
Votes: 14
Popularity: 0.000000
First Submitted: 2017-02-15 11:30 (UTC)
Last Updated: 2021-02-25 19:31 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

kosciak commented on 2021-02-25 19:29 (UTC)

I see. That approach sounds more sensible.

dessert commented on 2021-02-25 19:17 (UTC) (edited on 2021-02-25 19:17 (UTC) by dessert)

the yadm aur package uses /usr/share/fish/vendor_completions.d/yadm.fish

kosciak commented on 2021-02-25 18:30 (UTC)

thanks @dessert, fixed completions - also added fish ones in /etc/fish/completions following advice on it's wiki: "A directory for systems administrators to install completions for all users on the system". Not a fish user too, so happy to hear some feedback.

dessert commented on 2021-01-19 16:27 (UTC) (edited on 2021-01-19 16:27 (UTC) by dessert)

The shell completion script paths have changed, PKGBUILD patch:

@@ -28,6 +28,6 @@
   cd $srcdir/$pkgname
   install -D -m 755 yadm $pkgdir/usr/bin/yadm
   install -D -m 644 yadm.1 $pkgdir/usr/share/man/man1/yadm.1
-       install -D -m 644 completion/yadm.bash_completion "${pkgdir}/usr/share/bash-completion/completions/yadm"
-       install -D -m 644 completion/yadm.zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_yadm"
+       install -D -m 644 completion/bash/yadm "${pkgdir}/usr/share/bash-completion/completions/yadm"
+       install -D -m 644 completion/zsh/_yadm "${pkgdir}/usr/share/zsh/site-functions/_yadm"
 }

There’s a fish completion script now, I don’t use this shell but judging from its wiki article it should go into /usr/share/fish/completions/:

install -D -m 644 completion/fish/yadm.fish "${pkgdir}/usr/share/fish/completions/yadm.fish"

dngray commented on 2019-11-12 17:10 (UTC)

Make sure to see https://yadm.io/docs/upgrade_from_1

2.0.0 brings exciting features https://github.com/TheLocehiliosan/yadm/releases/tag/2.0.0

Update version number and update documentation

  • Support XDG base directory specification
  • Redesign alternate processing
  • Add built-in default template processor
  • Allow storing alternates in yadm dir (#90)
  • Add support for j2cli template processor
  • Ignore encrypted files (#69)
  • Support DISTRO in alternates (#72)
  • Support source in templates (#163)
  • Change yadm.cygwin-copy to yadm.alt-copy
  • Support -b <branch> when cloning (#133)
  • Support includes for j2-based templates (#114)
  • Remove stale/invalid linked alternates (#65)
  • Add support for Mingw/Msys (#102)
  • Allow -l to pass thru to the yadm config command
  • Improve processing of yadm/encrypt
  • Fix bugs in legacy alternate processing
  • Fix bug with hidden private files
  • Improve support for older versions of Git
  • Add upgrade command

mkeedlinger commented on 2019-03-23 03:54 (UTC)

+1 on the gpg dependency actually needing to be the gnupg package.

wheatdog commented on 2019-02-26 07:59 (UTC)

for optional dependency "gpg", isn't that be gnupg?

kosciak commented on 2019-02-05 09:21 (UTC)

I've updated PKGBUILD with improvements mentioned in the comments. Thanks everyone!

Artemis commented on 2019-02-02 10:45 (UTC) (edited on 2019-02-02 10:50 (UTC) by Artemis)

I made some changes to the PKGBUILD, like adding optional dependencies and installing completion for zsh and bash. Please incorporate them into the PKGBUILD.

EDIT: Apparently the comment system introduces < and > around URLS, they are not in the source and have to be removed…

EDIT2: Just for completeness the PKGBUILD is here http://dpaste.com/2N4K8Z3 for the next 30 days

pkgname=yadm-git
pkgver=1.12.0.r0.g09a018e
pkgrel=1
pkgdesc="Yet Another Dotfiles Manager"
arch=('any')
url="<https://thelocehiliosan.github.io/yadm/>"
license=('GPL3')
makedepends=('git')
optdepends=('gpg: encrypt/decrypt sensitive files'
            'python-envtpl-git: use templates with variables')
conflicts=('yadm-git')
source=("${pkgname}::git+<https://github.com/TheLocehiliosan/yadm#branch=master>")
sha256sums=('SKIP')

pkgver() {
    cd "${pkgname}"
    git describe  --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "${pkgname}"
    install -D -m 755 yadm "${pkgdir}/usr/bin/yadm"
    install -D -m 644 yadm.1 "${pkgdir}/usr/share/man/man1/yadm.1"
    install -D -m 644 completion/yadm.bash_completion "${pkgdir}/usr/share/bash-completion/completions/yadm"
    install -D -m 644 completion/yadm.zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_yadm"
}

jadelord commented on 2018-12-20 09:17 (UTC)

Please also install the bash and zsh completion that is provided with yadm