Git Product home page Git Product logo

Comments (4)

ypid avatar ypid commented on August 15, 2024 1

@jimbocoder Thanks for working on this! I think role.galaxy_name and role.name should be sufficient. If not you can make this configurable in ansigenome.conf and maybe optionally also in meta/ansigenome.yml. Looking forward to your patch to make this work for all of us.

from ansigenome.

drybjed avatar drybjed commented on August 15, 2024

I agree that this change should be reversed. It's good to be able to control the naming on the template level, leaving the decision to the role author.

from ansigenome.

jimbocoder avatar jimbocoder commented on August 15, 2024

Thanks Robin and @drybjed. Unfortunately straight up reversing the change just introduces a regression to other reported issues, so let's figure out a real fix. I hope to spend some time with this this weekend. In the mean time I'll paste some quick thoughts I had earlier as a request for further comments:

I think it's a bit tricky because "normalizing" the role identifier by stripping the company name out breaks graph generation, but apparently is necessary for doc generation. So even if it were configurable, you're broken one way or the other.

What if we look for an optional key in meta/ansigenome.yml called display_name? If present, ansigenome will use that when rendering the role's simple name, otherwise it will use the role's complete name.

from ansigenome.

nickjj avatar nickjj commented on August 15, 2024

Sorry, was traveling for a bit so I missed this issue. I will merge in the proper fix when it becomes available.

from ansigenome.

Related Issues (20)

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.