Hi Around... maybe.. 8years ago we talked about creating a repo to share commonly used code snippets and styles. Finally, yesterday that repo was created.
The shared repo is located on: [email protected]:/web/shared.git See also: http://git.php.net/?p=web/shared.git;a=summary and: https://github.com/php/web-shared Everyone that had general webmaster karma, phpweb, people or master karma have karma for the repo. I've already re-implemented the basic php.net design (header, footer and sidebar) in that repo, and plan on pulling out the common styling elements such as "content boxes" (e.g. header+content) and maybe the breadcrumbs from phpweb and put it into the shared repo. I've already ported https://wiki.php.net https://master.php.net/manage/users.php http://people.php.net/ The wiki is kindof annoying and requires a lot of work to style fully, but the basics are there. Also, people. is not running https so the username autocomplete on master doesn't load properly, I'll see if I can get the certificate on people today. The shared repo is added as a submodule to the root webdir of these projects, using anonymous git:// urls. This is because the rsync is older then the human race and does not support git clones over https, and I don't want to put a dedicated ssh key there. If you are modifying stuff under shared/ in the subprojects (people, wiki, ..) remember to add an extra "writable remote" you can push to; $ cd shared; git remote add upstream [email protected]:/web/shared.git Then you can push to the 'upstream' remote after making changes. Remember to update the submodule for the subprojects when making changes and push the update as git does not "trail a branch" like svn for example does. -Hannes -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
