Login   Register  
PHP Classes
elePHPant
Icontem

Automatic Update of Packages from Version Control Repositories - PHP Classes blog

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Automatic Update of P...   Post a comment Post a comment   See comments See comments (2)   Trackbacks (0)  
<< Previous: Is the Hack Language ...>> Next: PHPNG Dramatic Speedu...

Author: Manuel Lemos

Posted on:

Categories: New site features

The PHP Classes and JS Classes sites just enabled a new feature that allows to automatically update a package when its files have changed in the origin version control repository.

Read this article to learn more how it works and how to disable it in case you do not want your packages to be automatically imported from the repositories when you update them there.

The article also talks about the upcoming new design for the package pages that soon you will be able to beta test if you are interested in helping to evaluate it.




Contents

Importing Packages from Version Control Repositories

Automatic Update of Packages from VCS

Increasing the Exposure of Packages to Interested Users

Disabling Automatic Updates

Added and Removed Files

New Package Page Design in Beta Testing


Importing Packages from Version Control Repositories

Since 2011 the PHP Classes and JS Classes sites can import packages from Git, SubVersion and CVS version control system (VCS) repositories.

This means that authors that have submitted packages to any of the sites can import the files of from the VCS repository all at once with a few clicks instead of uploading files one at a time as in the past.

Packages that were previously uploaded manually can also be updated from VCS. Just follow the link in the respective package page that says Import files from a CVS, SubVersion (SVN) or Git repository.

Automatic Update of Packages from VCS

Now the PHP Classes and JS Classes sites can also automatically update packages that had its files updated in the origin VCS repository.

This means that regularly, the sites are monitoring the origin VCS repository to see if there are new or changed files. Changed files can be automatically imported without manual intervention of the author.

Option to disable the auto-update of package files from version control repositories

Increasing the Exposure of Packages to Interested Users

When an automatic update happens, the site will send a notification to the author to let him know about the update. Like with the manual package updates, users that previously downloaded the updated packages are also notified by email to download the latest version.

Authors that have integrated their accounts with social networks like Facebook and Twitter, will have an automatic post be sent to their timelines, so their followers become aware of their package updates.

This way, it is expected that each author package can get greater exposure without much effort from the authors.

Disabling Automatic Updates

If for some reason an author does not wish that his packages be automatically updated from the VCS repository page, just go on the page for the respective package repositories and uncheck the option that says Automatically update every day.

[Disabling automatic updates]

Added and Removed Files

If previously imported files are removed from the VCS repository, the site will automatically flag the files as removed. Removed files become invisible to regular users, but authors may still recover them if the removal was accidental.

If there are any new files in the VCS repository, for now the site cannot update them automatically because the author needs to specify what is the role of each new file. This is necessary because depending on the roles of the files that each package has, it may be rated or not in terms examples and documentation.

In this case, the author receives a notification to come to the site and import the package from the VCS repository, picking the right file roles as needed.

New Package Page Design in Beta Testing

Since January a new design for the package pages is being created to make those pages more usable and faster to navigate.

This is a long awaited update to the site navigation. It is the result of a study carried on with the help of several users that volunteered to go through a design thinking process giving interviews and providing feedback.

The new design is being implemented now and it will be available for evaluation from beta testers in the next weeks. If you are interested to test it and you are available to give feedback before its public release, please go on this survey page to express your interest.

Meanwhile, please post a comment to this article if you have any questions or comments to make regarding the new automatic VCS update feature or the upcoming design of the package pages.


You need to be a registered user or login to post a comment

1,296,296 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

Facebook ConnectGmail or other Google Account
Hotmail or Microsoft Windows LiveStackOverflow
GitHubYahoo


Comments:

1. automated Updates - Karl (2014-05-02 09:45)
Automated Updates with all kinds off Interest... - 1 reply
Read the whole comment and replies


<< Previous: Is the Hack Language ...>> Next: PHPNG Dramatic Speedu...

  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Automatic Update of P...   Post a comment Post a comment   See comments See comments (2)   Trackbacks (0)