We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26503
    • 620 Posts
    been working my way through the rtfm on creating & developing extras & packages... though I am not seeing any information on updates & repositories.

    - basically how does modx know that a package is an update & not a whole new extra?
    - I see the modx upload page for packages, but how does the repository work? Say I wanted to create my own repository, how would I go about doing that?

    -sean
      *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

      Sean Kimball CLP, CLS.
      Technical Director / Sr. Developer | BigBlock Studios
      ._______________________________________________.
      Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
      27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
      phone/fax: 905-426-5525
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      - basically how does modx know that a package is an update & not a whole new extra?
      To release an update you go to your package on the site and choose "Add new Version" in the sidebar instead of going to "Add new Extra" via the main nav

      - I see the modx upload page for packages, but how does the repository work? Say I wanted to create my own repository, how would I go about doing that?
      Not sure what you mean with a repository. If you mean a transport provider (so you can upload your own packages at a different url than modx.com) that's going to be a lot of custom development, which will be mostly pointless when the package manager gets reworked for 2.3 and all APIs and requests changed.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 26503
        • 620 Posts
        Quote from: markh at Mar 13, 2012, 12:26 PM

        To release an update you go to your package on the site and choose "Add new Version" in the sidebar instead of going to "Add new Extra" via the main nav

        Yes - I was trying to figure it out, normally I would have expected to have to include a little XML file or something in the transport package - but I guess that is all taken care of manually[??] by modx...


        Not sure what you mean with a repository. If you mean a transport provider (so you can upload your own packages at a different url than modx.com) that's going to be a lot of custom development, which will be mostly pointless when the package manager gets reworked for 2.3 and all APIs and requests changed.
        repository/provider ~ pardon my semantics wink I was just interested in getting a little more familiar with how they work out of interest mostly ~ I have no intention of setting up a provider....

        -sean
          *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

          Sean Kimball CLP, CLS.
          Technical Director / Sr. Developer | BigBlock Studios
          ._______________________________________________.
          Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
          27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
          phone/fax: 905-426-5525