jodastephen / jpms-module-names

Module names for the Java Module System (JPMS)
MIT License
37 stars 6 forks source link

csv view of Markdown table #4

Closed codetojoy closed 6 years ago

codetojoy commented 6 years ago

Assuming the module list grows in size, a CSV view of the data may be useful (esp. given GitHub's filter feature for CSVs). This PR contains a Groovy/Gradle application that generates ~/csv/modules.csv from the main README.md.

A clear downside is that it will need to be generated periodically (ideally with each change). If that is a deal-breaker, no problem. I understand.

jodastephen commented 6 years ago

Merged. We'll see how it works out in practice. Thanks

aalmiray commented 6 years ago

Perhaps the script could be run on every merge if a CI build is configured, such as Travis-CI for example 😏

jodastephen commented 6 years ago

It could, but that would require a bit of effort setting it up, as it would need to checkin to git (thus needing credentials)

aalmiray commented 6 years ago

yes, but Travis already supports that by means of a secure token. Ive' got a similar script running on the Griffon build, see https://github.com/griffon/griffon/blob/development/.travis.yml; it triggers the update-gh-pages.sh script when the build is done.

codetojoy commented 6 years ago

Quick note that Travis CI idea (or even just a pre-commit hook) is interesting to me, but I'm mostly offline/AFK due to a personal situation, so can't offer much in short-term. Apologies.