Create Own Software Repository With Rackspace Cloud Files. The SSL of Cloud Files is Free, access is API based, its hosted on Akamai – what you want more ? To add – costs $1 per month. Yes, definitely you can not get an enterprise grade setup, but for your own developed softwares, you can follow this method to create your own software repository.
Create Own Software Repository With Rackspace Cloud Files : The Approach
Can you recall how WordPress SVN actually works ? The WordPress.org pulls the meta data, description from the SVN. Basically, SVN is a domain with a specific software where the software is unmodifiable, viewable and non executable. As for your small hosting of own projects, you can basically need not to automate the process, you can easily host using the method. We are describing this way to create own software repository taking as if you want to host your own WordPress plugin and by the API call you can let the user know from software interface that new version is available.
Create Own Software Repository With Rackspace Cloud Files : Basics
Without going in to much details (as a software developer you already know the basics), the outlines are pointed here :
---
Excellent source code is provided here :
1 | http://wp-compatibility.com/setting-up-a-repository/ |
However, that guide is for WordPress, not generalized. On the line 2, you will notice the line – /core/repository-api.class.php ; this is the basic call to the WordPress API. This makes it separated from pure PHP. You need to change with your own API. This is first point. Second point is – there are several PHP, Python based scripts officially available from Rackspace’s Github repo. You can use them for uploading purpose.
Third point is defining the container of cloud files. Either you can set a CNAME to look like your own subdomain or you can simply define the full url of the container.