From: <ad...@tu...> - 2003-03-14 16:29:28
|
Mike, Bringing up old school stuff...I am updating some stuff in the build_phpws.sh file and I was going to add your diff to the file. I just have a couple of questions. Is this command a checkout or an export? cvs $REMOTE -q ex -r"$TAG" phpwebsite If it's an export, I'm not sure this method will work in this particular script since it is meant to build the most recent cvs copy of phpwebsite, themes, and modules with the expectation that the developer will be updating that code and later commit it. And will the developer be protected from checking out from a particular tag point and then later commiting their code and accidentally having old code from that tag point overwrite new code that is most recent in cvs? Also what does the tag 'HEAD' mean? :) Adam > Adam, > I have a diff for your shell script. Instead of checking out modules it > exports them based on tags. This will allow developers to work from > known tag points, and avoids the unnecessary CVS directory clutter > checkout creates. > > > $ diff -u ~/leaf/phpwebsite/build_phpws.sh ~/bin/build_phpws.sh > --- /home/mhnoyes/leaf/phpwebsite/build_phpws.sh Mon Feb 24 09:22:19 > 2003+++ /home/mhnoyes/bin/build_phpws.sh Mon Feb 24 11:00:25 2003 > @@ -27,25 +27,28 @@ > # Themes to check out > THEMES="AHP clean Default gax mainsite shiny winxp" > > +# Tag to retrieve from repository > +TAG=HEAD > + > ################################################ > # END SETTINGS: Do not edit beyond this line!! # > ################################################ > > # Grab the phpwebsite core and core modules > -cvs $REMOTE co phpwebsite > +cvs $REMOTE -q ex -r"$TAG" phpwebsite > for i in $CORE_MODULES; do > - cvs $REMOTE co $i > + cvs $REMOTE -q ex -r"$TAG" $i > mv $i phpwebsite/mod/ > done > > # Grab any extra modules the user wants > for i in $OTHER_MODULES; do > - cvs $REMOTE co $i > + cvs $REMOTE -q ex -r"$TAG" $i > mv $i phpwebsite/mod/ > done > > # Check out all themes and pick each one out individually > -cvs $REMOTE co themes > +cvs $REMOTE -q ex -r"$TAG" themes > for i in $THEMES; do > mv themes/$i phpwebsite/themes/ > done > > > -- > Mike Noyes <mhnoyes @ users.sourceforge.net> > http://sourceforge.net/users/mhnoyes/ > http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |