﻿<?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%2F2005%2FCVS_guide</id>
	<title>Dev:Ref/GoogleSummerOfCode/2005/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%2F2005%2FCVS_guide"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/GoogleSummerOfCode/2005/CVS_guide&amp;action=history"/>
	<updated>2026-06-13T17:56:58Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Ref/GoogleSummerOfCode/2005/CVS_guide&amp;diff=42174&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/2005/CVS_guide&amp;diff=42174&amp;oldid=prev"/>
		<updated>2018-06-28T17:45:23Z</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:45時点における版&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/2005/CVS_guide&amp;diff=42173&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones: moved Dev:Ref/GSoC/2005/CVS guide to Dev:Ref/GoogleSummerOfCode/2005/CVS guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/GoogleSummerOfCode/2005/CVS_guide&amp;diff=42173&amp;oldid=prev"/>
		<updated>2010-10-24T08:36:06Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Dev:Ref/GSoC/2005/CVS_guide&quot; class=&quot;mw-redirect&quot; title=&quot;Dev:Ref/GSoC/2005/CVS guide&quot;&gt;Dev:Ref/GSoC/2005/CVS guide&lt;/a&gt; to &lt;a href=&quot;/Dev:Ref/GoogleSummerOfCode/2005/CVS_guide&quot; title=&quot;Dev:Ref/GoogleSummerOfCode/2005/CVS guide&quot;&gt;Dev:Ref/GoogleSummerOfCode/2005/CVS guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Work with CVS =&lt;br /&gt;
&lt;br /&gt;
We've decided to do the one tree, 10 branch solution, and make merges optional. We have created the tree and the branches and they are accessed as follows: &lt;br /&gt;
&lt;br /&gt;
1) make sure that you have set up you're environment to use ssh with cvs, i.e., &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;export CVS_RSH=ssh&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
if you use csh or tcsh &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;setenv CVS_RSH ssh&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Optionally, you can use the p.b.o website to upload some ssh public keys so that you don't have to type a password everytime 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;
2) The cvs module name is soc-blender and there are ten branches that are named after the student coders. &lt;br /&gt;
&lt;br /&gt;
I'm going to pretend I'm jiri. Here is how I would check out my branch: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$ cvs -z3 -d:ext:jiri@cvs.blender.org:/cvsroot/soc-2005 co -r jiri soc-blender&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
(unless Jiri has uploaded his ssh public key, he will need to enter his p.b.o password) &lt;br /&gt;
&lt;br /&gt;
This will create a directory called soc-blender with jiri'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;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;$ cd soc-blender&lt;br /&gt;
$ cvs status README&lt;br /&gt;
&amp;lt;/source&amp;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-2005/soc-blender/README,v&lt;br /&gt;
Sticky Tag:			 jiri (branch: 1.1.1.1.6)&lt;br /&gt;
Sticky Date:			(none)&lt;br /&gt;
Sticky Options:		(none)&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
Henceforth, jiri can do cvs update, commit, etc as usual, and it will only effect 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 effecting the right branch. &lt;br /&gt;
&lt;br /&gt;
3) Occasionally (say weekly, but it can even be done on request if something is needed). We can merge the HEAD branch with the latest bf-blender sources (HEAD branch is basically the main branch, i.e. the branch you get if you don't specify a branch name). This will be effortless: since none of you are working on the main branch I will get no conflicts. Also, this will not effect your branches so you will get no conflicts. Life will be good. &lt;br /&gt;
&lt;br /&gt;
4) Well, how do the changes in HEAD get propagated to a branch? This is through merging HEAD onto the branch. I recommend checking out a separate working directory to do merges, as not to damage any un-committed work. So, it would go something like this: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;# checkout new working directory&lt;br /&gt;
$ cvs -z3 -d:ext:jiri@cvs.blender.org:/cvsroot/soc-2005 co -r jiri soc-blender&lt;br /&gt;
&lt;br /&gt;
# merge head onto our jiri branch&lt;br /&gt;
$ cd soc-blender&lt;br /&gt;
$ cvs up -jHEAD&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;
By the way, for you cvs newbies, I'd recommend setting up a .cvsrc file in your home directory that looks something like this: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;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;
These are nice options for compression, etc. &lt;br /&gt;
&lt;br /&gt;
One last thing. This is a nice way to merge: when you do the 'cvs up -jHEAD' it *does not* modify the repository in any way, just your local copy. 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, and in fact check that I'm not totally 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;
(btw, the merging I will do on the HEAD branch is the stuff in Section 13 on third party sources.) &lt;br /&gt;
&lt;br /&gt;
5) Well, that's about it. Things are ready to check out, but I think I have to talk to an admin about unix file permissions before anybody can commit (although all of the students and admins are supposed to have commit rights according to p.b.o). &lt;br /&gt;
&lt;br /&gt;
6) Just a few do's &amp;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 it's status, e.g.:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;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;
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&amp;amp;lt;/tt&amp;amp;gt;modload&amp;amp;amp;name&amp;lt;tt&amp;gt;ocumentation&amp;amp;amp;file&amp;lt;/tt&amp;gt;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;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones</name></author>
		
	</entry>
</feed>