ieee embedded systems...
TRANSCRIPT
![Page 1: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/1.jpg)
Embedded Software DevelopmentEmbedded Software DevelopmentConfiguration Management Using Mercurial HgConfiguration Management Using Mercurial Hg
Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)DG Technologies(248) [email protected]
IEEE Embedded Systems Workshop
1
![Page 2: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/2.jpg)
Contents
AdvertisementWhat and Why this is important to youWhat is Mercurial and Tortoise HgA high-level introduction to Hg◦ No Hg experience, have CM experience
Compared to older source control systems◦ RCS, CVS, SourceSafe
(Audience survey)
![Page 3: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/3.jpg)
Fall Section Conference
Wednesday, November 14, 2012 5pm-9pm at Fairlane Center, University of Michigan-Dearborn
www.ieee-sem.org/fall
Keynote: "Unique Vehicles: Submarines that Fly", Graham Hawkes
![Page 4: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/4.jpg)
What andWhy This Is Important to YouConfiguration Management◦ “...identifying the configuration of a system at distinct
points in time for the purpose of systematically controlling changes to the configuration...”
“Source control” and release tracking (not change control)
![Page 5: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/5.jpg)
Why This Is Important to You (cont.)
Good CM is your professional responsibility
“It is our job as professionals to get better at what we do.”
-- Dr. Chris Wagner
![Page 6: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/6.jpg)
Why This Is Important to You (cont.)You can run Hg on your PC◦ Part of your PSP, personal productively tool
CM is KPA in CMM Level-2– My background using SCCS, RCS in UNIX/Linux
CM is major section in SWEBOK (Chapter 7)– (convinced about CM)
Hg is Modern, Distributed CM SystemI have using Hg for 2 years, replaced RCS
![Page 7: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/7.jpg)
What is Mercurial
Configuration management systemOpen source (“free software” GNU GPL v2)Runs on Windows, Linux, MACModern, Distributed CM System
![Page 8: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/8.jpg)
Features
Small, simple command set – (compared to git)
Mercurial stores changesets to entire project, not individual files
– A list of changes between one checkin and next• Supports merging
– You don't check in files• Check in the whole repository
– Advantage with *.h and *.c or *.cpp files
![Page 9: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/9.jpg)
Features
Distributed - no central repositoryNetwork-able - ssh built, clone across netBranching and merging
– full command set
Tortoise Hg is the Windows program
![Page 10: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/10.jpg)
![Page 11: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/11.jpg)
Linux Commandshg inithg commithg statushg log
![Page 12: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/12.jpg)
Online Tutorial
www.hginit.com
![Page 13: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/13.jpg)
ConclusionsConclusions
• This is your responsibility• Keep up with technology• Get, Learn, and Use Mercurial or git
13
![Page 14: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/14.jpg)
ReferencesReferences
• References◦ HgInit http://www.hginit.com◦ SWEBOK IEEE Computer Society 2004
http://www.swebok.org Configuration Management
• Further Information on Technology and Careers◦ IEEE Computer Society http://www.computer.org◦ IEEE http://www.ieee.org◦ IEEE-USA http://www.ieeeusa.org
14
![Page 15: IEEE Embedded Systems Workshopewh.ieee.org/.../cs/20121013/Config-Management-using-Mercurial.H… · Configuration Management Using Mercurial Hg Mark Ciechanowski, P.E. (SEE-CHAN-OW-SKI)](https://reader034.vdocument.in/reader034/viewer/2022050106/5f443ac3f4642a051940da01/html5/thumbnails/15.jpg)
Mark Ciechanowski, P.E.(248) 888-2000
Headquarters: 33604 West Eight Mile Road
Farmington Hills, MI 48335 (248) 888-2000 (248) 888-9977 fax
Heavy-Duty Development Center: 2415 Directors Row Suite G
Indianapolis, IN 46241 (317) 248-9332 (317) 248-1504 fax
15