ararslan / license-to-vim

License your code from Vim like a secret agent
http://vimawesome.com/plugin/license-to-vim
23 stars 7 forks source link

Revisit how licenses are stored? #11

Open ararslan opened 2 years ago

ararslan commented 2 years ago

As the number of supported licenses grows, so will the download size and required disk space for this plugin, since the licenses are currently stored as plain text files in the resources/ directory. As it stands now, that directory is at 288 KB, so this is definitely more of an academic rather than practical concern at this point and it's entirely possible that this will never actually become a problem in practice.

That said, sometimes just thinking about alternatives to things is fun, so here are some potential alternatives to the status quo:

The more I think about this, the less likely I think it is that I'll want to pursue any change to how licenses are stored (or at least implementing any of these particular changes). I would however be interested to know if/when a particular facet of this plugin becomes a pain point for users that could be solved by changing the way licenses are stored.

ypid commented 2 years ago

I would go with the first option ("Don't store any licenses as part of the repository itself."). This is how https://reuse.software does it (#8). #8 also covers #10 btw.