Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robert J. Bullock 386 posts 405 karma points
    Mar 23, 2010 @ 15:18
    Robert J. Bullock
    0

    Private Package Repository

    You know what just occurred to me that would be an awesome addition to Umbraco? Private/custom Package Repositories!

    If you build a lot of websites with Umbraco like I do, you must have the experience of reusing a lot of document types, macros, etc. I find myself creating, exporting and importing packages from one Umbraco install to another. What would be awesome is if my company could have our own private package repository hosted on our own servers where we could store commonly used packages just like Umbraco's package repository, with categories and all the rest. 

    Does this make sense to anyone else? It would make my life a whole lot easier... It would have to be configurable in umbracosettings.config or elsewhere... Maybe add as many package repository URL's as you'd like. Oh, and when you create a package, choose the repository you want to submit it to and have it automatically added.

  • Robert J. Bullock 386 posts 405 karma points
    Mar 23, 2010 @ 15:23
    Robert J. Bullock
    0

    Wait, what, huh?

    "From the Developer section you can access packages. From here you have access to the umbraco package repository from where you can download packages. It is however also possible to add other repositories to this list. If you or your company have a private repository, it can be added to this list."

    Never saw this. How does it work?

  • Stephan Lonntorp 195 posts 212 karma points
    Mar 23, 2010 @ 15:25
    Stephan Lonntorp
    0

    I think there's support for that. Check your umbracoSettings.config:

     

     

    <!-- Configuration for repositories -->
    <!-- Add or remove repositories here. You will need the repository's unique key to be able to connect to it.-->
    <repositories>
    <repository name="Umbraco package Repository" guid="65194810-1f85-11dd-bd0b-0800200c9a66" />
    </repositories>

     

    I don't know how new ones are added though, and where you put the URL and so forth., but there's a place to start anyway.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Mar 23, 2010 @ 15:33
    Lee Kelleher
    0

    Looking through the code now, curious how this works too.  Anyone from the core team care to share?

    Seems that there are 2 extra attributes called "repositoryurl" and "webserviceurl" which would point at your repository.

    When you browse the repository, via the Developer/Packages section, an iframe is used, like so:

    <iframe id="repoFrame" src=" + url + "?repoGuid=" + repoGuid + category + "&callback=" + base.Request.ServerVariables["SERVER_NAME"] + ":" + base.Request.ServerVariables["SERVER_PORT"] + GlobalSettings.Path + "/developer/packages/proxy.htm?/" + GlobalSettings.Path.Trim(new char[] { '/' }) + "/developer/packages/installer.aspx?repoGuid=" + repoGuid + "&version=v31"></iframe>

    I have no idea what's involved in the server-side of the repository ... I guess as long as it returns the correct values - all would be good?

    Looking forward to discovering more about this.

    Cheers, Lee.

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 23, 2010 @ 15:49
    Douglas Robar
    1

    As memory serves, you could get a private package repository by contacting umbraco corp. It is all hosted on the same servers as the public repository. Very easy to administer as well.

    I don't know if it comes as part of "Pro" or not or if the idea ever really took off.

    cheers,
    doug.

  • Paul Sterling 718 posts 1534 karma points MVP 9x admin c-trib
    Mar 23, 2010 @ 15:58
    Paul Sterling
    1

    Umbraco offers package repositories to Certified Solution Providers.  If that's you, get in touch and we can arrange specifics.

    -Paul

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Mar 23, 2010 @ 16:04
    Lee Kelleher
    0

    Thanks Paul and Doug, makes sense now.  Was thinking it was a secret un-tapped feature of Umbraco for a minute then.

    Still curious if it's reverse-engineer-able? (Thats just the hacker in me), or should I do better things with my time? ;-) haha

    Cheers, Lee.

  • Per Ploug Hansen 208 posts 129 karma points
    Mar 23, 2010 @ 17:56
    Per Ploug Hansen
    1

    I'm pretty sure it's reverse-engineer-able, everything is.

    However we would very much appreciate people became a certified solution provider instead to get a hosted repo for free, but thats just us and our greedy ways I guess ;-) 

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Mar 23, 2010 @ 18:15
    Lee Kelleher
    0

    I've satisfied my curiosity now, look through the code, monitored HTTP/web-service requests (via Fiddler2), I know that it can be done... but doesn't mean that it should be done.

    I think it's great that Umbraco corp offer this service for Certified Solution Providers, seems the best option for it!

Please Sign in or register to post replies

Write your reply to:

Draft