writeme-project / writeme

Cross-platform README.md generator
GNU General Public License v3.0
14 stars 0 forks source link

License #13

Closed BabelDev0 closed 1 year ago

BabelDev0 commented 1 year ago

We could move the license logic from the config files (package.json etc.) to searching for the actual license file. So in the README, we can be sure to report the correct license with also the link to the file in the repo

BabelDev0 commented 1 year ago

Issue License:

BabelDev0 commented 1 year ago
BabelDev0 commented 1 year ago

Logic:

  1. Config files are loaded with the license information.
  2. One method checks if there is a license file inside the repo, if there is then I check if the repo is github, if so I put link, otherwise I search the found file for keywords to find the correct license
  3. if in the merger all ConverterOutput have no license then I propose to the user to choose one, and once chosen we also create the file in the root of the repository
BabelDev0 commented 1 year ago

https://github.com/writeme-project/writeme/wiki/License-logic

ilcors-dev commented 1 year ago

check licenses to add to the project, get them from here

@ilcors-dev start from GNU to the bottom @BabelDev0 start from GNU to the top

ilcors-dev commented 1 year ago

check lib https://github.com/Eolu/enum-assoc