{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecture 29 week7b GNU

lecture 29 week7b GNU - Unix C GNU HTML Perl Python GNU...

Info iconThis preview shows pages 1–15. Sign up to view the full content.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 1 GNU Tools Comp-206 : Introduction to Software Systems Week 7 - Extra Joseph Vybihal Computer Science McGill University
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 2 Announcements Only RCS is covered this term.
Background image of page 2
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 3 Part 1 GNU Tools (cont.)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 4 RCS A Revision Control System (a command-line tool)
Background image of page 4
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 5 What is it? Repository: A way in which you can keep your source files in a database . This database records every version of your source file, much like the UNDO command in a text editor – but for an entire source file. It also helps you merge a source file if two people happen to have edited it at the same time. Password access to source files
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 6 About Code Repositories Shared on-line User 1 User 2 personal Shared on-line User 1 User 2 release CSV CSV CSV CSV
Background image of page 6
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 7 CVS Actions Creating a repository: cvs init The cvs command lets you manage your repository in many ways. Adding to repository: checking in: ci file Editing from repository: check out: co file Repository history: rlog file A revision history is very important when you want to know who did what, when they did it, and why.
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 8 Revision Trees
Background image of page 8
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 9 RCS Directories and Files The RCS subdirectory (sub-folder) If created by you in your working directory, will be used by RCS to store all the files and databases it creates. Mkdir rcs or rcs init Filename.v is the database file used by RCS. It keeps the revision history, change log, version numbers, etc, for a file.
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 10 jvybihal project virtualOffice rcs / Source files in here RCS files auto kept here. If not present then kept in virtualOffice. (optional)
Background image of page 10
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 11 Basic Operations Check In (regular) ci filename Your text.c file is deleted. A test,v db file is added / created. Unix prompt
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 12 Basic Operations Check In (-u) Don’t delete .c file, convert to read-only .c file ci –u filename Check Out To get most recent version of .v file from db as a read-only .c file co filename To get .v as an editable .c file, and locks it so no one else can edit it until you return in to db co –l filename
Background image of page 12
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 13 The Revision Log
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Unix C + GNU HTML Perl Python COMP 206 - Joseph Vybihal Software Systems 14 Old and New Versions
Background image of page 14
Image of page 15
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}