Linking your contribution to a Github Repository
The Zen Cart plugins area now allows you to enter the Github repo for your contribution, if you are storing it in Github. Just enter
<your github username>/<your repo name>
in the Github Repository field. As an example, Better Together has "scottcwilson/zen_cart_better_together" in the Github Repository field.
You can see an example of the "Github Repository" button here:
https://www.zen-cart.com/downloads.php?do=file&id=126
If you want to add a Github repo to an existing contribution that you support, just send your humble moderator a PM. :)
Re: Linking your contribution to a Github Repository
Is it possible to remove the download of the plugin (obsolete/static) code entirely and only have the link to the (current/up-to-date) GitHub code?
Re: Linking your contribution to a Github Repository
Quote:
Originally Posted by
torvista
Is it possible to remove the download of the plugin (obsolete/static) code entirely and only have the link to the (current/up-to-date) GitHub code?
Hi torvista, neighborhood pain in your back side here. :) can you explain why? It's my understanding that having access to the old versions provides a benefit to those that have either previously downloaded the software and/or as a point of reference as to what has changed. Further, unfortunately to an extent, github "history" can be changed through force pushes making it possible (though perhaps not desirable) to change a historical version compared to the saved, accessible version on this site...
Re: Linking your contribution to a Github Repository
As @mc12345678 notes, the preservation of past history (in an immutable state) can be very valuable.
There are a couple of other flaws in this idea:
- Github repos are not necessarily kept in a releasable state at all times. People frequently check in work-in-progress.
- The submission and review process ensures that mods available from the plugins page have been checked for malware, advertising, phone-home schemes and various other undesirable things.
Re: Linking your contribution to a Github Repository
Correct. It was done this way to specifically allow for some degree of curation, and to create an archive in case someone deletes their github repo or changes it.
Plus, you'll likely be posting something to forum users' support thread as well, so the extra minute to upload the file becomes part of that workflow.
Re: Linking your contribution to a Github Repository
The github repo button is not so much there to allow you to pull a copy of the contrib as it is for you to contribute PRs, open issue reports, or contribute in some other way. It takes a village to maintain a plugin. :)
Re: Linking your contribution to a Github Repository