ajlende / dotbot-pacaur Goto Github PK
View Code? Open in Web Editor NEWdotbot pacaur plugin
License: MIT License
dotbot pacaur plugin
License: MIT License
In order to get the pacaur plugin to work, I have to run, from my dotfiles repo, dotbot/bin/dotbot -p dotbot-pacaur/pacaur.py -c packages.conf.yaml
rather than ./install -p dotbot-pacaur/pacaur.py -c packages.conf.yaml
. What am I doing wrong?
The output I get is the same as if ./install
was running my default config, then this on stderr
:
usage: dotbot [-h] [-Q] [-q] [-v] [-d BASEDIR] [-c CONFIGFILE] [-p PLUGIN]
[--disable-built-in-plugins] [--plugin-dir PLUGIN_DIR]
[--no-color] [--version]
dotbot: error: argument -c/--config-file: expected one argument
Hello,
Posting this request here from anishathalye/dotbot#122
My request is fairly simple. I'm in a situation where I'm jumping between a macbook and a linux machine and I'm using both dotbot-pacuar
and dotbot-brew
to maintain a list of my packages for both machines.
The lists contain, for the most part, the same exact packages with a few here and there differences.
Currently, there's no way to use reference anchors in the plugin yaml file so I have to write my package lists like this:
- pacaur:
- package1
- package2
- package3
- package4
- package5
- linux-specific1
- brew:
- package1
- package2
- package3
- package4
- package5
- mac-specific1
- mac-specific2
As you can see, there's a lot of unnecesary repeats between both lists.
What I'd like to do instead is this:
- &common
- package1
- package2
- package3
- package4
- package5
- pacaur:
- *common
- linux-specific1
- brew:
- *common
- mac-specific1
- mac-specific2
This almost works right now, but the hangup is that dotbot doesn't first flatten the lists prior to passing them to the plugins. So what the plugins end up getting is this:
- pacaur:
-
- package1
- package2
- package3
- package4
- package5
-
- linux-specific1
- brew:
-
- package1
- package2
- package3
- package4
- package5
-
- mac-specific1
- mac-specific2
Hope that makes sense. Thanks for considering! ๐
I added some *-git
packages to the profile, installation works fine but any subsequent invocation fails on first *-git
package on the list - probably output is not handled well - I tried nail down the issue, but I am not python-not-even-begginer. Could you add support for *-git
packages support or point to a place where fix should be made ?
Thanks and regards !
Thanks for this plugin for dotbot, is awesome!, but i can't make it work, I have done the installation as you say and I have put in the conf.yaml file the directive as well:
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" \
--plugin-dir "${BASEDIR}/dotbot-pacaur" "${@}"
but I receive "Action pacaur not handler" when runs the script.
In my arch.conf.yaml i have this with 4 spaces:
- pacaur:
- zsh
- vim
and more...
I'm can't find a solution.
Thanks for your work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.