Open tajmone opened 4 years ago
@fantaisie-software, I was wondering: now that you've created the PureBasic OpenSource Projects repository, you could also add to it all PureBasic (and, possibly, SpiderBasic) required licenses as .txt
files, like I've done here. (If I've understood correctly, although right now only the IDE is available, it's intended as an umbrella project for all aspects of PB and SB that will be made openly available).
This would be quite helpful for many PB related projects, for they could just update their licenses based on the files from the official repository, instead of having to manually copy and paste them from the CHM Help file or the online Documentation.
This is especially true when the PureBasic OpenSource Projects repository will ultimately adopt tag releases matching PureBasic releases — i.e. with each new PB release the repository contents get updated to match those of the official package (SDK headers, licenses files, IDE sources, and so on), allowing end users to be able to checkout with Git a specific tag in order to get access to assets matching a specific PB version (with master branch always mirroring the latest release).
Automate the process of updating the PB License files at each new PureBasic release.
Manually updating the PB License files with each new PureBasic release is a cumbersome work involving copying and pasting the licenses from their HTML document to the plain text file.
The process could be automated by creating a small tool that:
<pre>
block, so extracting it should fairly easy and won't require HTML tag removals.To spare some time, it might actually be better to first diff the extracted raw HTML files from then PB version with previous ones, to check if there are actually any changes, before beginning the process and deploy stages.
Creating this tool should be fairly straight forward, and could be done even in PB. I should then decide where to host it pubblicly (I might even store the source file inside the project Wiki, along with an instructions page).