﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARef%2FGoogleSummerOfCode%2F2006%2FCVS_guide</id>
	<title>Dev:Ref/GoogleSummerOfCode/2006/CVS guide - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARef%2FGoogleSummerOfCode%2F2006%2FCVS_guide"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/GoogleSummerOfCode/2006/CVS_guide&amp;action=history"/>
	<updated>2026-04-29T06:11:21Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Ref/GoogleSummerOfCode/2006/CVS_guide&amp;diff=47392&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/GoogleSummerOfCode/2006/CVS_guide&amp;diff=47392&amp;oldid=prev"/>
		<updated>2018-06-28T17:47:46Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 17:47時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Ref/GoogleSummerOfCode/2006/CVS_guide&amp;diff=47391&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones: moved Dev:Ref/GSoC/2006/CVS guide to Dev:Ref/GoogleSummerOfCode/2006/CVS guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/GoogleSummerOfCode/2006/CVS_guide&amp;diff=47391&amp;oldid=prev"/>
		<updated>2010-10-24T08:36:08Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Dev:Ref/GSoC/2006/CVS_guide&quot; class=&quot;mw-redirect&quot; title=&quot;Dev:Ref/GSoC/2006/CVS guide&quot;&gt;Dev:Ref/GSoC/2006/CVS guide&lt;/a&gt; to &lt;a href=&quot;/Dev:Ref/GoogleSummerOfCode/2006/CVS_guide&quot; title=&quot;Dev:Ref/GoogleSummerOfCode/2006/CVS guide&quot;&gt;Dev:Ref/GoogleSummerOfCode/2006/CVS guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Working with CVS for Summer of Code 2006=&lt;br /&gt;
&lt;br /&gt;
We've decided to use one tree with three branches, and make merges optional. This tree is separate from the main blender tree from the bf-blender cvs repo, and the main blender tree is imported into this one as third party sources. The branches of this tree are accessed as follows:&lt;br /&gt;
&lt;br /&gt;
==Environment Setup==&lt;br /&gt;
Make sure that you have set up your environment to use ssh with cvs, i.e.,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
export CVS_RSH=ssh&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you use csh or tcsh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
setenv CVS_RSH ssh&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Optionally, you can use the [http://projects.blender.org p.b.o] website to upload some ssh public keys so that you don't have to type a password every time you access the repository. If you are new to ssh, and keys, etc, just ask for a more detailed elaboration. &lt;br /&gt;
&lt;br /&gt;
Note that windows users may need to do something a bit different with regards to handling ssh.&lt;br /&gt;
&lt;br /&gt;
==Checking Out A Branch==&lt;br /&gt;
The cvs module name is soc-blender and there&lt;br /&gt;
are three branches that are named after the student&lt;br /&gt;
coders.&lt;br /&gt;
&lt;br /&gt;
I'm going to pretend I'm sionix. Here is how I would check out my branch ('\' at the end of a line means the line is long and is continued on the next line)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cvs -z3 -d:ext:sionix@cvs.blender.org:/cvsroot/soc-2006 \&lt;br /&gt;
   co -r sionix soc-blender&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(unless sionix has uploaded his ssh public key, he will need to enter his [http://projects.blender.org p.b.o] password)&lt;br /&gt;
&lt;br /&gt;
This will create a directory called soc-blender with sionix's branch inside it.&lt;br /&gt;
&lt;br /&gt;
We can confirm that this is the right branch using 'cvs status' on a file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd soc-blender&lt;br /&gt;
$ cvs status README&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
===================================================================&lt;br /&gt;
File: README            Status: Up-to-date&lt;br /&gt;
&lt;br /&gt;
   Working revision:    1.1.1.1&lt;br /&gt;
   Repository revision: 1.1.1.1 /cvsroot/soc-2006/soc-blender/README,v&lt;br /&gt;
   Sticky Tag:          sionix (branch: 1.1.1.1.2)&lt;br /&gt;
   Sticky Date:         (none)&lt;br /&gt;
   Sticky Options:      (none)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Henceforth, sionix can do cvs update, commit, etc as usual, and it will only affect his branch, provided that he does not reset the sticky tag. Before committing, it may be prudent to do a cvs status on a file to make sure you are indeed affecting the right branch.&lt;br /&gt;
&lt;br /&gt;
==bf-blender Source Tree Imports==&lt;br /&gt;
This is something that students will not usually do (unless they are keen and want to), but they should be aware when this happens: occasionally (say weekly, but it can even be done on request if something is needed), we can import the latest sources from the bf-blender source tree into the BLENDER_DIST branch of the soc-blender tree. This will be effortless: since none of you are working on the BLENDER_DIST branch there should be no conflicts. Also, this will not affect your branches so you can work as usual, and ignore this import if you wish. You will get no conflicts from this action, and life will be good.&lt;br /&gt;
There is more information about how this is done near the end of this document.&lt;br /&gt;
&lt;br /&gt;
==Merging To Student Branches==&lt;br /&gt;
Well, how do the changes in the BLENDER_DIST branches get propagated to your development branch? This is through merging BLENDER_DIST onto the branch. I recommend checking out a separate working directory to do merges, so as not to damage any un-committed work (but I would advise you to commit any work before a merge). So, it would go something like this the first time:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# checkout new working directory&lt;br /&gt;
$ cvs -z3 -d:ext:sionix@cvs.blender.org:/cvsroot/soc-2006 \&lt;br /&gt;
   co -kk -r sionix soc-blender&lt;br /&gt;
&lt;br /&gt;
# merge BLENDER_DIST onto our sionix branch&lt;br /&gt;
$ cd soc-blender&lt;br /&gt;
$ cvs up -kk -jBLENDER_DIST&lt;br /&gt;
&lt;br /&gt;
# fix conflicts if any then commit:&lt;br /&gt;
# cvs commit&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What happened above is that any differences to the BLENDER_DIST branch since its creation were merged into the sionix branch. Note the -kk's: they are there so that keyword expansion does not happen and so the merge will be a lot smoother (otherwise there will be many conflicts related to the $Id tags that are usually at the top of files).&lt;br /&gt;
&lt;br /&gt;
Now, this is really really really important! Be sure to note the date when you did your last merge! The next time you merge you will need this information, because you will no longer be merging the changes since the creation of the BLENDER_DIST branch, but will instead be merging the changes between the last time you merged and now.&lt;br /&gt;
&lt;br /&gt;
For the sake of example, suppose the last time you merged your sources was on June 10, 2006. This time when you merge, the procedure will look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# checkout new working directory&lt;br /&gt;
$ cvs -z3 -d:ext:sionix@cvs.blender.org:/cvsroot/soc-2006 \&lt;br /&gt;
   co -kk -r sionix soc-blender&lt;br /&gt;
&lt;br /&gt;
# merge changes to BLENDER_DIST since last merge&lt;br /&gt;
# onto our sionix branch&lt;br /&gt;
$ cd soc-blender&lt;br /&gt;
$ cvs up -kk -j BLENDER_DIST:2006-06-10 -j BLENDER_DIST&lt;br /&gt;
&lt;br /&gt;
# fix conflicts if any then commit:&lt;br /&gt;
# cvs commit&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One last thing, when you merge doing the steps above it '''does not''' modify the repository in any way, just your local copy, until you do the 'cvs commit'. So if you get freaked out because the conflicts are getting ugly, you can just abort the merge and ask for help or something.&lt;br /&gt;
&lt;br /&gt;
One more last thing: I am not a cvs guru, I just basically read the docs and learn things well enough to get the task done. If you want to find out more, or check whether I'm out to lunch, I would recommend reading the relevant section of the cvs manual:&lt;br /&gt;
&lt;br /&gt;
https://www.cvshome.org/docs/manual/cvs-1.12.12/cvs_5.html#SEC56&lt;br /&gt;
&lt;br /&gt;
One final last thing, for you cvs newbies, I'd recommend setting up a .cvsrc file in your home directory that looks something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cvs -z3 -q&lt;br /&gt;
diff -up&lt;br /&gt;
update -Pd&lt;br /&gt;
checkout -P&lt;br /&gt;
rdiff -u&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These are nice options for compression, etc.&lt;br /&gt;
&lt;br /&gt;
==Do's And Don't's==&lt;br /&gt;
Just a few do's &amp;amp; don't's (well, mostly don't's):&lt;br /&gt;
&lt;br /&gt;
* Don't commit files that are in msdos text format - check your editor settings! If in doubt, run 'file' on a file to report its status, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ file README&lt;br /&gt;
README: ASCII English text&lt;br /&gt;
&lt;br /&gt;
$ unix2dos README&lt;br /&gt;
$ file README&lt;br /&gt;
README: ASCII English text, with CRLF line terminators&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Try to keep the style and indentation of your work similar to what is currently in the blender sources, e.g., use tabs for indentation rather than spaces. There are some docs about conventions that are often followed here:&lt;br /&gt;
&lt;br /&gt;
http://www.blender.org/modules.php?op=modload&amp;amp;name=documentation&amp;amp;file=index&lt;br /&gt;
&lt;br /&gt;
OK, that's it for now, feel free to send any questions to the list.&lt;br /&gt;
&lt;br /&gt;
==Notes For Future SoC Maintainers==&lt;br /&gt;
Here are some notes to give the next SoC maintainer a headstart (in case I get hit by a truck or get disgruntled) for the next time that Blender participates in Summer of Code.&lt;br /&gt;
&lt;br /&gt;
Here is how the SoC CVS repository was imported from bf-blender sources this year (assuming the cvs username 'hos'):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 cvs -z3 -d:ext:hos@cvs.blender.org:/cvsroot/bf-blender \&lt;br /&gt;
    export -D now blender&lt;br /&gt;
 mv blender blender-export&lt;br /&gt;
 cd blender-export&lt;br /&gt;
 cvs -z3 -d:ext:hos@cvs.blender.org:/cvsroot/soc-2006 \&lt;br /&gt;
    import -m &amp;quot;Initial import of blender CVS as soc-blender&amp;quot; \&lt;br /&gt;
    soc-blender BLENDER_DIST BLENDER_CVS_2006_05_28&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some changes to the CVSROOT directory were made. Group write&lt;br /&gt;
for 'val-tags' was needed. 'loginfo', 'log_accum.pl', 'commmitinfo',&lt;br /&gt;
'commit_prep.pl' and 'commitcheck' were copied from the last SoC &lt;br /&gt;
repository, with any references to the old repository changed&lt;br /&gt;
(e.g., soc-2005 becomes soc-2006, etc). Also make sure to change&lt;br /&gt;
the ownership and permissions for these files accordingly. &lt;br /&gt;
A directory called 'commitlogs' containing a file named 'other' &lt;br /&gt;
(created by 'touch' is sufficient) is needed.&lt;br /&gt;
&lt;br /&gt;
Here are how the branches were created:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 cvs -z3 -d :ext:hos@cvs.blender.org:/cvsroot/soc-2006 co soc-blender&lt;br /&gt;
 cd soc-blender&lt;br /&gt;
 cvs tag -b sionix&lt;br /&gt;
 cvs tag -b nicholasbishop&lt;br /&gt;
 cvs tag -b artificer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is how a future import of sources might look, for merging, on say, June 10, 2006:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 cvs -z3 -d:ext:hos@cvs.blender.org:/cvsroot/bf-blender \&lt;br /&gt;
    export -D now blender&lt;br /&gt;
 mv blender blender-export&lt;br /&gt;
 cd blender-export&lt;br /&gt;
 cvs -z3 -d:ext:hos@cvs.blender.org:/cvsroot/soc-2006 \&lt;br /&gt;
    import -m &amp;quot;Re-import of Blender CVS 2006/06/10&amp;quot; \&lt;br /&gt;
    soc-blender BLENDER_DIST BLENDER_CVS_2006_06_10&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones</name></author>
		
	</entry>
</feed>