SlidePub
Home
Categories
Login
Register
Home
General
Git mercurial - Git basics , features and commands
Git mercurial - Git basics , features and commands
DivyanshGupta922023
37 views
68 slides
Jun 18, 2024
Slide
1
of 68
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
About This Presentation
Git mercurial - Git basics , features and commands
Size:
927.6 KB
Language:
en
Added:
Jun 18, 2024
Slides:
68 pages
Slide Content
Slide 1
Beyond code: Versioning
data with Git and Mercurial
Stephanie Collett and Martin Haye
California Digital Library, University of California
Slide 2
Not on Agenda
Slide 6
Agenda
•Background
•Case Study #1: eScholarship
Backup
•Case Study #2: Zephir Metadata
•Summary
Slide 7
Code
Version Control
Repository
Slide 8
Data/Metadata
Version Control
Repository
Slide 15
Why distributed?
Slide 17
Case #1
eScholarship Data/Metadata Backup
Slide 18
eScholarship
Slide 20
~50k scholarly works
Slide 21
XML Metadata
10 files
per work}
Slide 22
XML Metadata
~500,000
files total}
Slide 23
Single Mercurial
Repository
XML Metadata
Slide 24
Working
Repository
Backup
Repository
Nightly Sync
(hg push)
Slide 26
Single Mercurial
Repository
XML Metadata
Slide 27
.hgignore
Single Mercurial
Repository
XML Metadata
Slide 28
Nightly Sync
(rsync)
Working
Storage
Backup
Storage
}{
Slide 29
30-60 minutes
for the batch job
Slide 30
Date
Annotation
Change
Logs
Commit
History}
Slide 31
Case #2
Zephir Metadata Management System
Slide 34
Zephir
Slide 35
record/
File system
Slide 36
record/
File system
marc.xml
Slide 37
record/
File system
marc.xml
attrbutes.xml
summary.xml
transform.xsl
Slide 38
record/
marc.xml
attrbutes.xml
summary.xml
transform.xsl
.git/
File system
Slide 39
10 million
/pairtree/ab/cd/e/record/.git
/pairtree/ab/cd/ea/record/.git
/pairtree/ab/cd/ez/record/.git
/pairtree/ab/cd/f2/record/.git
/pairtree/ab/cd/f9/record/.git
/pairtree/ab/cd/ff/record/.git
/pairtree/ab/cd/fm/record/.git
/pairtree/ab/cd/fq/record/.git
/pairtree/ab/cd/gi/record/.git
/pairtree/ab/cd/gw/record/.git
/pairtree/ab/cd/gz/record/.git
/pairtree/ab/cd/hs/record/.git
/pairtree/ab/cd/ht/record/.git
/pairtree/ab/cd/i/record/.git
...
...
}
Slide 40
Individually
Slide 41
Versioning
+ Audit Trail
+ Diffing
+ Debugging
Slide 42
Collectively
Slide 43
record/
marc.xml
Slide 44
1 file, ~4k
Slide 45
marc.xml
attrbutes.xml
summary.xml
transform.xsl
record/
Slide 46
4 file, ~36k
Slide 47
.git/
branches/
config
description
HEAD
hooks/
index
info/
objects/
refs/
Slide 48
record/ + record/.git
43 files, ~132k
Slide 49
record/ + record/.git
~132k x 10 million
Slide 50
record/ + record/.git
43 files x 10 million
Slide 52
Command Line
vs.
API
Slide 53
Grit Gem (Git)
vs.
Rugged Gem (Libgit2)
Slide 54
Grit Gem (Git)
Slide 57
Rugged Gem (Libgit2)
Slide 60
Grit vs. Rugged
•add files
•commit
•add files
•determine changes
•determine parent
•commit
•replace HEAD
Slide 62
Summary
Slide 63
Commit
Add
Remove
Log
Diff
Slide 64
vs.
Slide 67
texty data, small files
100-10,000 files per
repository
Slide 68
If it looks like code,
even if it's data,
it will probably work
Tags
git
Categories
General
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
37
Slides
68
Age
533 days
Related Slideshows
22
Pray For The Peace Of Jerusalem and You Will Prosper
RodolfoMoralesMarcuc
32 views
26
Don_t_Waste_Your_Life_God.....powerpoint
chalobrido8
34 views
31
VILLASUR_FACTORS_TO_CONSIDER_IN_PLATING_SALAD_10-13.pdf
JaiJai148317
31 views
14
Fertility awareness methods for women in the society
Isaiah47
30 views
35
Chapter 5 Arithmetic Functions Computer Organisation and Architecture
RitikSharma297999
28 views
5
syakira bhasa inggris (1) (1).pptx.......
ourcommunity56
30 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-68)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better