Git Product home page Git Product logo

Comments (7)

pryrt avatar pryrt commented on July 29, 2024

I agree that there should definitely be a human-readable / easily-clickable list, and a table in the .md file works well for that.

from userdefinedlanguages.

chcg avatar chcg commented on July 29, 2024

@pryrt See notepad-plus-plus/nppPluginList#177 for notepad-plus-plus/nppPluginList#158 which did add such a list creation for the pluginlist to the python script. Likely this could be adapted also for this repo. What do you think about that?

from userdefinedlanguages.

pryrt avatar pryrt commented on July 29, 2024

Ah, interesting. If I read that right, it seems to happen in the validation step. Can that validation write back to the repo, to automate creating the human-readable list? Or have I misunderstood? (I am not an expert on the external actions from GitHub)

from userdefinedlanguages.

chcg avatar chcg commented on July 29, 2024

@pryrt I'm not sure about the possibility to commit and push from within a github action. Typically an artefact would be stored by the action which then could be added manually. Searching the internet for this, seems it is possible:
https://github.com/github-actions-x/commit
or
https://github.com/ad-m/github-push-action
or
https://github.community/t5/GitHub-Actions/how-does-one-commit-from-an-action/td-p/30333

from userdefinedlanguages.

mattesh avatar mattesh commented on July 29, 2024

@donho, @chcg,
isn't it at the time when a new release is created, when the list need to be generated and pushed into https://github.com/notepad-plus-plus/npp-usermanual ?
This would become triggered with https://help.github.com/en/actions/reference/events-that-trigger-workflows#release-event-release right?
Question 1: do we want the plugin list md files in usermanual to have a history or only the latest?
Question 2: should it be a direct push or pull request, allowing a double confirmation in usermanual?

In terms of the action my intuitive way forward would be a script to

  1. clone npp-usermanual into workspace,
  2. generate the new md file(s)
  3. create a commit with details from npp-pluginlist
  4. push this to the npp-usermanual

Regards, Mattes

Sorry, probably better posted in nppPluginList#158
But maybe still valid here.

from userdefinedlanguages.

chcg avatar chcg commented on July 29, 2024

@mattesh
release event sounds reasonable. Why should it be part of the user manual?
ad 1, if we add the md file to this repo we have the history via git. I don't think a history apart from the version number needs to be visible within the file content.
ad 2, I think the step could be part of the existing CI action. There is already a checkout and I think an action could also do a commit and direct push on releases

from userdefinedlanguages.

mattesh avatar mattesh commented on July 29, 2024

@chcg,
fine for me. We would put the files to version control and remove them from .gitignore again?
Will you do the yml change?

from userdefinedlanguages.

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.