Pcview

From ProgClub
Revision as of 16:33, 22 August 2011 by John (talk | contribs) (→‎Source code)
Jump to: navigation, search

Pcview is the ProgClub web-based subversion viewing software. That's the software that allows users to view pcrepo. It's a fork of ViewVC 1.0.12 with some minor improvements to the HTML templates (the ProgClub logo, and links to the svn repositories). For other projects see Projects.

Project status

Released!

Contributors

Members who have contributed to this project. Newest on top.

Upstream contributors:

Copyright

Copyright 2011, Contributors. Licensed under the two-clause BSD license.

Source code

The repository can be browsed online:

http://www.progclub.org/pcrepo/pcview

The code for Pcview is publicly available from svn:

http://www.progclub.org/svnro/pcrepo/pcview/tags/latest

Or privately available for read-write access:

https://www.progclub.org/svn/pcrepo/pcview/trunk

Links

TODO

Nothing to see here, it's all done.

Done

Stuff that's done. Latest stuff on top.

  • JE 2011-08-13: Customised installer to over-write templates and ignore the config file
  • JE 2011-08-13: Added links on file pages to the public and private svn repositories
  • JE 2011-08-13: Added links on directory pages to the public and private svn repositories
  • JE 2011-08-13: Configured support for syntax-highlighting and line-numbers
  • JE 2011-08-13: Added a ProgClub logo with a link back to the wiki
  • JE 2011-08-13: Updated link to license so it renders as HTML
  • JE 2011-08-13: Installed and configured on charity
  • JE 2011-08-13: Updated upstream contributor and license information
  • JE 2011-08-13: Created the project in svn, see pcview
  • JE 2011-08-13: Created project page

Notes for implementers

If you are interested in incorporating ProgClub's Pcview into your project, here's what you need to know:

You're probably not really going to be interested in our fork. We didn't add anything! Your best bet is to go to the upstream source for a copy of the project's distribution: www.viewvc.org. If you want to know how we modified our templates for the few features that we did add, your best bet is to copy the relevant bits from pcrepo.

Releasing Pcview at ProgClub

To do a pcview release on charity, run

$ /home/jj5/bin/release-pcview "Release notes..."

After registering the release in svn this will update the pcview-dev and pcview working copies in /var/www and it will install ViewVC in /usr/local/viewvc-1.0.12. The installer has been modified so as to not create a config file (one should already exist) and to blow away any mods to the templates (don't modify templates in /usr/local/viewvc-1.0.12 -- instead modify them in subversion and then do a release). The pcview-dev setup isn't really being used at the moment, if we ever do anything more sophisticated I'll configure it for use.