No offense intended, I saw this on twitter yesterday, and honestly, I didn't get it.
First off, ansible-galaxy is already a command line tool help manage (create, stub out, and download ansible roles). ansible-galaxy is already open source as a command line tool, and it's not galaxy specific (just named as such). We do welcome contributions, but would like to talk about syntax and usage first a bit. Some of the things we've talked about was supporting private git repos. Contributions have been slight, however. Things like "run a shell command inside each role directory" seem really abstract to me, and I had difficulty following the documentation to understand why I would want to do the above things listed on the PyPi page. I don't know what "rebuild a role" would mean. Roles don't have to be built. Travis integration doesn't seem to make sense because it's a very limited environment for running integration tests. So, yeah, I'd rather have seen this as a discussion for what facilities are lacking in the /usr/bin/ansible-galaxy tool, and perhaps one of those might have been a "--list-roles" subcommand, that could use something like your stats output. I'm still not understanding things like "run" or "rebuild". On Tue, Jul 22, 2014 at 8:29 AM, Nick Janetakis <[email protected]> wrote: > What do you guys think about https://github.com/nickjj/ansigenome. I > released it yesterday and would appreciate some feedback. > > Here's a snippet from the readme: > > Ansigenome is a command line tool designed to help you manage your Ansible > roles. It does 6 things: >> >> >> *scan* a path containing Ansible roles and report back useful stats*rebuild* >> a path of roles which auto generates a `README.md` and `meta/main.yml` from >> templates*run* shell commands inside of each role's directory*init* new >> roles with a travis-ci test already made for you*export* a path of roles to >> a file to be consumed by `ansible-galaxy install -r`*dump* a json file >> containing every stat it gathers from a directory >> >> > > Also do you think something like this belongs as a core tool in ansible? I > imagine the json dump could be useful for generating stats on the galaxy. I > also feel like it's a good idea to push people into best practices for > releasing ansible roles. It would be great if we can all agree on some > standard and then stick to it. I tried to help with this situation by > adding automatic travis tests to each new role you generate with > Ansigenome. It also exposes a git branch in the meta file to hint that you > should really be tagging your role versions. > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/75244ddb-4a71-4a3c-b872-ef9c37178386%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/75244ddb-4a71-4a3c-b872-ef9c37178386%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwSwEsAfxddtQ1fbs4kpO%2Bjmu-NjM1%3D73hccWL5vNmycw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
