Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,182
    Plugin Contributions
    96

    Default 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. :)
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  2. #2
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,137
    Plugin Contributions
    29

    Default 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?
    Steve
    github.com/torvista: Spanish Language Pack, Image Checker, Structured Data, BackupMySQL Admin/Auto, Product Listing Sorter, Redsys payment module...

  3. #3
    Join Date
    Jul 2012
    Posts
    15,106
    Plugin Contributions
    17

    Default Re: Linking your contribution to a Github Repository

    Quote Originally Posted by torvista View Post
    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...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,182
    Plugin Contributions
    96

    Default 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.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  5. #5
    Join Date
    Jan 2004
    Posts
    65,400
    Blog Entries
    7
    Plugin Contributions
    232

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    7,182
    Plugin Contributions
    96

    Default 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. :)
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.

  7. #7
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,137
    Plugin Contributions
    29

    Default Re: Linking your contribution to a Github Repository

    ok, I'm convinced
    Steve
    github.com/torvista: Spanish Language Pack, Image Checker, Structured Data, BackupMySQL Admin/Auto, Product Listing Sorter, Redsys payment module...

 

 

Similar Threads

  1. Github Collaboration
    By wilt in forum Code Collaboration
    Replies: 34
    Last Post: 26 Jun 2020, 11:37 PM
  2. Zen Cart GitHub Repository
    By wilt in forum Code Collaboration
    Replies: 9
    Last Post: 30 Sep 2015, 11:27 PM
  3. v154 Putting your contributions on GitHub
    By swguy in forum Contribution-Writing Guidelines
    Replies: 0
    Last Post: 8 Feb 2015, 02:25 PM
  4. v154 Source Code public repository?
    By edthered in forum General Questions
    Replies: 9
    Last Post: 15 Jan 2015, 05:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR