ohloh_scm 2.2.11 → 2.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ohloh_scm/adapters/svn_chain/chain.rb +1 -1
- data/lib/ohloh_scm/adapters/svn_chain/commits.rb +1 -1
- data/lib/ohloh_scm/version.rb +1 -1
- data/test/repositories/svn_with_branching.tgz +0 -0
- data/test/unit/svn_chain_commits_test.rb +40 -32
- data/test/unit/svn_chain_test.rb +15 -5
- metadata +4 -84
- data/test/repositories/svn_with_branching/README.txt +0 -5
- data/test/repositories/svn_with_branching/conf/authz +0 -21
- data/test/repositories/svn_with_branching/conf/passwd +0 -8
- data/test/repositories/svn_with_branching/conf/svnserve.conf +0 -30
- data/test/repositories/svn_with_branching/db/current +0 -1
- data/test/repositories/svn_with_branching/db/format +0 -1
- data/test/repositories/svn_with_branching/db/fs-type +0 -1
- data/test/repositories/svn_with_branching/db/revprops/0 +0 -5
- data/test/repositories/svn_with_branching/db/revprops/1 +0 -13
- data/test/repositories/svn_with_branching/db/revprops/2 +0 -13
- data/test/repositories/svn_with_branching/db/revprops/3 +0 -13
- data/test/repositories/svn_with_branching/db/revprops/4 +0 -13
- data/test/repositories/svn_with_branching/db/revprops/5 +0 -13
- data/test/repositories/svn_with_branching/db/revprops/6 +0 -13
- data/test/repositories/svn_with_branching/db/revprops/7 +0 -13
- data/test/repositories/svn_with_branching/db/revprops/8 +0 -13
- data/test/repositories/svn_with_branching/db/revprops/9 +0 -13
- data/test/repositories/svn_with_branching/db/revs/0 +0 -11
- data/test/repositories/svn_with_branching/db/revs/1 +0 -49
- data/test/repositories/svn_with_branching/db/revs/2 +0 -0
- data/test/repositories/svn_with_branching/db/revs/3 +0 -23
- data/test/repositories/svn_with_branching/db/revs/4 +0 -35
- data/test/repositories/svn_with_branching/db/revs/5 +0 -0
- data/test/repositories/svn_with_branching/db/revs/6 +0 -54
- data/test/repositories/svn_with_branching/db/revs/7 +0 -23
- data/test/repositories/svn_with_branching/db/revs/8 +0 -35
- data/test/repositories/svn_with_branching/db/revs/9 +0 -0
- data/test/repositories/svn_with_branching/db/uuid +0 -1
- data/test/repositories/svn_with_branching/db/write-lock +0 -0
- data/test/repositories/svn_with_branching/format +0 -1
- data/test/repositories/svn_with_branching/hooks/post-commit.tmpl +0 -51
- data/test/repositories/svn_with_branching/hooks/post-lock.tmpl +0 -44
- data/test/repositories/svn_with_branching/hooks/post-revprop-change.tmpl +0 -56
- data/test/repositories/svn_with_branching/hooks/post-unlock.tmpl +0 -42
- data/test/repositories/svn_with_branching/hooks/pre-commit.tmpl +0 -70
- data/test/repositories/svn_with_branching/hooks/pre-lock.tmpl +0 -64
- data/test/repositories/svn_with_branching/hooks/pre-revprop-change.tmpl +0 -66
- data/test/repositories/svn_with_branching/hooks/pre-unlock.tmpl +0 -60
- data/test/repositories/svn_with_branching/hooks/start-commit.tmpl +0 -54
- data/test/repositories/svn_with_branching/locks/db-logs.lock +0 -3
- data/test/repositories/svn_with_branching/locks/db.lock +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11c59e009a1f9f5c39943115bed6752677b2543b
|
4
|
+
data.tar.gz: cb701ae9abbdf33b4e8a3f683e45dcd0c308b25f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad5adb5f274f12c66d518e02e4d6bf58d5d66c36391200acc33277be14bd9c071cd79d7be6bed4f584a5e894862c0beb6c482d1555a2a3542d5a705c72432b76
|
7
|
+
data.tar.gz: 0bf9d24af492feeaad0ff90f7606e483f6c3bc587f4ad52ff6e51a4bf31d9415afe0dd26c9a6abc4bf6c80cdd8e8f68963415cab748266f693f781dd83afe7a4
|
@@ -86,7 +86,7 @@ module OhlohScm::Adapters
|
|
86
86
|
# code tree from one directory to another, this method returns the name
|
87
87
|
# of the previous directory.
|
88
88
|
def parent_branch_name(d)
|
89
|
-
if d.action
|
89
|
+
if %w(A R).include?(d.action) && branch_name[0, d.path.size] == d.path && d.from_path && d.from_revision
|
90
90
|
d.from_path + branch_name[d.path.size..-1]
|
91
91
|
end
|
92
92
|
end
|
@@ -23,7 +23,7 @@ module OhlohScm::Adapters
|
|
23
23
|
# If the diff points to a file, simply returns the diff.
|
24
24
|
# If the diff points to a directory, returns an array of diffs for every file in the directory.
|
25
25
|
def deepen_diff(diff, rev)
|
26
|
-
|
26
|
+
if %w(A R).include?(diff.action) && diff.path == '' && parent_svn && rev == first_token
|
27
27
|
# A very special case that is important for chaining.
|
28
28
|
# This is the first commit, and the entire tree is being created by copying from parent_svn.
|
29
29
|
# In this case, there isn't actually any change, just
|
data/lib/ohloh_scm/version.rb
CHANGED
Binary file
|
@@ -5,47 +5,49 @@ module OhlohScm::Parsers
|
|
5
5
|
|
6
6
|
def test_chained_commit_tokens
|
7
7
|
with_svn_chain_repository('svn_with_branching', '/trunk') do |svn|
|
8
|
-
assert_equal [1,2,4,5,8,9], svn.commit_tokens
|
9
|
-
assert_equal [2,4,5,8,9], svn.commit_tokens(:after => 1)
|
10
|
-
assert_equal [4,5,8,9], svn.commit_tokens(:after => 2)
|
11
|
-
assert_equal [4,5,8,9], svn.commit_tokens(:after => 3)
|
12
|
-
assert_equal [5,8,9], svn.commit_tokens(:after => 4)
|
13
|
-
assert_equal [8,9], svn.commit_tokens(:after => 5)
|
14
|
-
assert_equal [8,9], svn.commit_tokens(:after => 6)
|
15
|
-
assert_equal [8,9], svn.commit_tokens(:after => 7)
|
16
|
-
assert_equal [9], svn.commit_tokens(:after => 8)
|
17
|
-
assert_equal [], svn.commit_tokens(:after => 9)
|
18
|
-
assert_equal [], svn.commit_tokens(:after =>
|
8
|
+
assert_equal [1,2,4,5,8,9,11], svn.commit_tokens
|
9
|
+
assert_equal [2,4,5,8,9,11], svn.commit_tokens(:after => 1)
|
10
|
+
assert_equal [4,5,8,9,11], svn.commit_tokens(:after => 2)
|
11
|
+
assert_equal [4,5,8,9,11], svn.commit_tokens(:after => 3)
|
12
|
+
assert_equal [5,8,9,11], svn.commit_tokens(:after => 4)
|
13
|
+
assert_equal [8,9,11], svn.commit_tokens(:after => 5)
|
14
|
+
assert_equal [8,9,11], svn.commit_tokens(:after => 6)
|
15
|
+
assert_equal [8,9,11], svn.commit_tokens(:after => 7)
|
16
|
+
assert_equal [9,11], svn.commit_tokens(:after => 8)
|
17
|
+
assert_equal [11], svn.commit_tokens(:after => 9)
|
18
|
+
assert_equal [], svn.commit_tokens(:after => 11)
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
22
|
def test_chained_commit_count
|
23
23
|
with_svn_chain_repository('svn_with_branching', '/trunk') do |svn|
|
24
|
-
assert_equal
|
25
|
-
assert_equal
|
26
|
-
assert_equal
|
27
|
-
assert_equal
|
28
|
-
assert_equal
|
29
|
-
assert_equal
|
30
|
-
assert_equal
|
31
|
-
assert_equal
|
32
|
-
assert_equal
|
33
|
-
assert_equal
|
24
|
+
assert_equal 7, svn.commit_count
|
25
|
+
assert_equal 6, svn.commit_count(:after => 1)
|
26
|
+
assert_equal 5, svn.commit_count(:after => 2)
|
27
|
+
assert_equal 5, svn.commit_count(:after => 3)
|
28
|
+
assert_equal 4, svn.commit_count(:after => 4)
|
29
|
+
assert_equal 3, svn.commit_count(:after => 5)
|
30
|
+
assert_equal 3, svn.commit_count(:after => 6)
|
31
|
+
assert_equal 3, svn.commit_count(:after => 7)
|
32
|
+
assert_equal 2, svn.commit_count(:after => 8)
|
33
|
+
assert_equal 1, svn.commit_count(:after => 9)
|
34
|
+
assert_equal 0, svn.commit_count(:after => 11)
|
34
35
|
end
|
35
36
|
end
|
36
37
|
|
37
38
|
def test_chained_commits
|
38
39
|
with_svn_chain_repository('svn_with_branching', '/trunk') do |svn|
|
39
|
-
assert_equal [1,2,4,5,8,9], svn.commits.collect { |c| c.token }
|
40
|
-
assert_equal [2,4,5,8,9], svn.commits(:after => 1).collect { |c| c.token }
|
41
|
-
assert_equal [4,5,8,9], svn.commits(:after => 2).collect { |c| c.token }
|
42
|
-
assert_equal [4,5,8,9], svn.commits(:after => 3).collect { |c| c.token }
|
43
|
-
assert_equal [5,8,9], svn.commits(:after => 4).collect { |c| c.token }
|
44
|
-
assert_equal [8,9], svn.commits(:after => 5).collect { |c| c.token }
|
45
|
-
assert_equal [8,9], svn.commits(:after => 6).collect { |c| c.token }
|
46
|
-
assert_equal [8,9], svn.commits(:after => 7).collect { |c| c.token }
|
47
|
-
assert_equal [9], svn.commits(:after => 8).collect { |c| c.token }
|
48
|
-
assert_equal [], svn.commits(:after => 9).collect { |c| c.token }
|
40
|
+
assert_equal [1,2,4,5,8,9,11], svn.commits.collect { |c| c.token }
|
41
|
+
assert_equal [2,4,5,8,9,11], svn.commits(:after => 1).collect { |c| c.token }
|
42
|
+
assert_equal [4,5,8,9,11], svn.commits(:after => 2).collect { |c| c.token }
|
43
|
+
assert_equal [4,5,8,9,11], svn.commits(:after => 3).collect { |c| c.token }
|
44
|
+
assert_equal [5,8,9,11], svn.commits(:after => 4).collect { |c| c.token }
|
45
|
+
assert_equal [8,9,11], svn.commits(:after => 5).collect { |c| c.token }
|
46
|
+
assert_equal [8,9,11], svn.commits(:after => 6).collect { |c| c.token }
|
47
|
+
assert_equal [8,9,11], svn.commits(:after => 7).collect { |c| c.token }
|
48
|
+
assert_equal [9,11], svn.commits(:after => 8).collect { |c| c.token }
|
49
|
+
assert_equal [11], svn.commits(:after => 9).collect { |c| c.token }
|
50
|
+
assert_equal [], svn.commits(:after => 11).collect { |c| c.token }
|
49
51
|
end
|
50
52
|
end
|
51
53
|
|
@@ -64,7 +66,7 @@ module OhlohScm::Parsers
|
|
64
66
|
end
|
65
67
|
end
|
66
68
|
|
67
|
-
assert_equal [1,2,4,5,8,9], commits.collect { |c| c.token }
|
69
|
+
assert_equal [1,2,4,5,8,9,11], commits.collect { |c| c.token }
|
68
70
|
|
69
71
|
# This repository spends a lot of energy moving directories around.
|
70
72
|
# File edits actually occur in just 3 commits.
|
@@ -105,6 +107,12 @@ module OhlohScm::Parsers
|
|
105
107
|
assert_equal 1, commits[5].diffs.size
|
106
108
|
assert_equal 'M', commits[5].diffs.first.action
|
107
109
|
assert_equal '/helloworld.c', commits[5].diffs.first.path
|
110
|
+
|
111
|
+
# Revision 10: /trunk/goodbyeworld.c & /trunk/helloworld.c are modified
|
112
|
+
# on branches/development, hence no commit reported.
|
113
|
+
|
114
|
+
# Revision 11: The trunk is reverted back to revision 9.
|
115
|
+
assert_equal 0, commits[6].diffs.size
|
108
116
|
end
|
109
117
|
|
110
118
|
# Specifically tests this case:
|
data/test/unit/svn_chain_test.rb
CHANGED
@@ -6,7 +6,7 @@ module OhlohScm::Parsers
|
|
6
6
|
def test_chain
|
7
7
|
with_svn_chain_repository('svn_with_branching', '/trunk') do |svn|
|
8
8
|
chain = svn.chain
|
9
|
-
assert_equal
|
9
|
+
assert_equal 5, chain.size
|
10
10
|
|
11
11
|
# In revision 1, the trunk is created.
|
12
12
|
assert_equal '/trunk', chain[0].branch_name
|
@@ -25,19 +25,29 @@ module OhlohScm::Parsers
|
|
25
25
|
assert_equal 7, chain[2].final_token
|
26
26
|
|
27
27
|
# In revision 8, a new trunk is created by copying the branch.
|
28
|
-
#
|
28
|
+
# The next final_token will be 9.
|
29
29
|
assert_equal '/trunk', chain[3].branch_name
|
30
30
|
assert_equal 8, chain[3].first_token
|
31
|
-
assert_equal
|
31
|
+
assert_equal 9, chain[3].final_token
|
32
|
+
|
33
|
+
# In revision 11, trunk is reverted back to rev 9
|
34
|
+
# This trunk still lives on, so its final_token is nil.
|
35
|
+
assert_equal '/trunk', chain[4].branch_name
|
36
|
+
assert_equal 11, chain[4].first_token
|
37
|
+
assert_nil chain[4].final_token
|
32
38
|
end
|
33
39
|
end
|
34
40
|
|
35
41
|
def test_parent_svn
|
36
42
|
with_svn_chain_repository('svn_with_branching', '/trunk') do |svn|
|
37
|
-
|
43
|
+
# The first chain is the copy commit from trunk:9 into rev 11.
|
44
|
+
p0 = svn.parent_svn
|
45
|
+
assert_equal 9, p0.final_token
|
46
|
+
|
47
|
+
# In this repository, /branches/development becomes
|
38
48
|
# the /trunk in revision 8. So there should be a parent
|
39
49
|
# will final_token 7.
|
40
|
-
p1 =
|
50
|
+
p1 = p0.parent_svn
|
41
51
|
assert_equal p1.url, svn.root + '/branches/development'
|
42
52
|
assert_equal p1.branch_name, '/branches/development'
|
43
53
|
assert_equal p1.final_token, 7
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ohloh_scm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BlackDuck Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04
|
11
|
+
date: 2017-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: posix-spawn
|
@@ -469,47 +469,7 @@ files:
|
|
469
469
|
- test/repositories/svn/hooks/start-commit.tmpl
|
470
470
|
- test/repositories/svn/locks/db-logs.lock
|
471
471
|
- test/repositories/svn/locks/db.lock
|
472
|
-
- test/repositories/svn_with_branching
|
473
|
-
- test/repositories/svn_with_branching/conf/authz
|
474
|
-
- test/repositories/svn_with_branching/conf/passwd
|
475
|
-
- test/repositories/svn_with_branching/conf/svnserve.conf
|
476
|
-
- test/repositories/svn_with_branching/db/current
|
477
|
-
- test/repositories/svn_with_branching/db/format
|
478
|
-
- test/repositories/svn_with_branching/db/fs-type
|
479
|
-
- test/repositories/svn_with_branching/db/revprops/0
|
480
|
-
- test/repositories/svn_with_branching/db/revprops/1
|
481
|
-
- test/repositories/svn_with_branching/db/revprops/2
|
482
|
-
- test/repositories/svn_with_branching/db/revprops/3
|
483
|
-
- test/repositories/svn_with_branching/db/revprops/4
|
484
|
-
- test/repositories/svn_with_branching/db/revprops/5
|
485
|
-
- test/repositories/svn_with_branching/db/revprops/6
|
486
|
-
- test/repositories/svn_with_branching/db/revprops/7
|
487
|
-
- test/repositories/svn_with_branching/db/revprops/8
|
488
|
-
- test/repositories/svn_with_branching/db/revprops/9
|
489
|
-
- test/repositories/svn_with_branching/db/revs/0
|
490
|
-
- test/repositories/svn_with_branching/db/revs/1
|
491
|
-
- test/repositories/svn_with_branching/db/revs/2
|
492
|
-
- test/repositories/svn_with_branching/db/revs/3
|
493
|
-
- test/repositories/svn_with_branching/db/revs/4
|
494
|
-
- test/repositories/svn_with_branching/db/revs/5
|
495
|
-
- test/repositories/svn_with_branching/db/revs/6
|
496
|
-
- test/repositories/svn_with_branching/db/revs/7
|
497
|
-
- test/repositories/svn_with_branching/db/revs/8
|
498
|
-
- test/repositories/svn_with_branching/db/revs/9
|
499
|
-
- test/repositories/svn_with_branching/db/uuid
|
500
|
-
- test/repositories/svn_with_branching/db/write-lock
|
501
|
-
- test/repositories/svn_with_branching/format
|
502
|
-
- test/repositories/svn_with_branching/hooks/post-commit.tmpl
|
503
|
-
- test/repositories/svn_with_branching/hooks/post-lock.tmpl
|
504
|
-
- test/repositories/svn_with_branching/hooks/post-revprop-change.tmpl
|
505
|
-
- test/repositories/svn_with_branching/hooks/post-unlock.tmpl
|
506
|
-
- test/repositories/svn_with_branching/hooks/pre-commit.tmpl
|
507
|
-
- test/repositories/svn_with_branching/hooks/pre-lock.tmpl
|
508
|
-
- test/repositories/svn_with_branching/hooks/pre-revprop-change.tmpl
|
509
|
-
- test/repositories/svn_with_branching/hooks/pre-unlock.tmpl
|
510
|
-
- test/repositories/svn_with_branching/hooks/start-commit.tmpl
|
511
|
-
- test/repositories/svn_with_branching/locks/db-logs.lock
|
512
|
-
- test/repositories/svn_with_branching/locks/db.lock
|
472
|
+
- test/repositories/svn_with_branching.tgz
|
513
473
|
- test/repositories/svn_with_invalid_encoding.tgz
|
514
474
|
- test/repositories/svn_with_tree_move/README.txt
|
515
475
|
- test/repositories/svn_with_tree_move/conf/authz
|
@@ -945,47 +905,7 @@ test_files:
|
|
945
905
|
- test/repositories/svn/hooks/start-commit.tmpl
|
946
906
|
- test/repositories/svn/locks/db-logs.lock
|
947
907
|
- test/repositories/svn/locks/db.lock
|
948
|
-
- test/repositories/svn_with_branching
|
949
|
-
- test/repositories/svn_with_branching/conf/authz
|
950
|
-
- test/repositories/svn_with_branching/conf/passwd
|
951
|
-
- test/repositories/svn_with_branching/conf/svnserve.conf
|
952
|
-
- test/repositories/svn_with_branching/db/current
|
953
|
-
- test/repositories/svn_with_branching/db/format
|
954
|
-
- test/repositories/svn_with_branching/db/fs-type
|
955
|
-
- test/repositories/svn_with_branching/db/revprops/0
|
956
|
-
- test/repositories/svn_with_branching/db/revprops/1
|
957
|
-
- test/repositories/svn_with_branching/db/revprops/2
|
958
|
-
- test/repositories/svn_with_branching/db/revprops/3
|
959
|
-
- test/repositories/svn_with_branching/db/revprops/4
|
960
|
-
- test/repositories/svn_with_branching/db/revprops/5
|
961
|
-
- test/repositories/svn_with_branching/db/revprops/6
|
962
|
-
- test/repositories/svn_with_branching/db/revprops/7
|
963
|
-
- test/repositories/svn_with_branching/db/revprops/8
|
964
|
-
- test/repositories/svn_with_branching/db/revprops/9
|
965
|
-
- test/repositories/svn_with_branching/db/revs/0
|
966
|
-
- test/repositories/svn_with_branching/db/revs/1
|
967
|
-
- test/repositories/svn_with_branching/db/revs/2
|
968
|
-
- test/repositories/svn_with_branching/db/revs/3
|
969
|
-
- test/repositories/svn_with_branching/db/revs/4
|
970
|
-
- test/repositories/svn_with_branching/db/revs/5
|
971
|
-
- test/repositories/svn_with_branching/db/revs/6
|
972
|
-
- test/repositories/svn_with_branching/db/revs/7
|
973
|
-
- test/repositories/svn_with_branching/db/revs/8
|
974
|
-
- test/repositories/svn_with_branching/db/revs/9
|
975
|
-
- test/repositories/svn_with_branching/db/uuid
|
976
|
-
- test/repositories/svn_with_branching/db/write-lock
|
977
|
-
- test/repositories/svn_with_branching/format
|
978
|
-
- test/repositories/svn_with_branching/hooks/post-commit.tmpl
|
979
|
-
- test/repositories/svn_with_branching/hooks/post-lock.tmpl
|
980
|
-
- test/repositories/svn_with_branching/hooks/post-revprop-change.tmpl
|
981
|
-
- test/repositories/svn_with_branching/hooks/post-unlock.tmpl
|
982
|
-
- test/repositories/svn_with_branching/hooks/pre-commit.tmpl
|
983
|
-
- test/repositories/svn_with_branching/hooks/pre-lock.tmpl
|
984
|
-
- test/repositories/svn_with_branching/hooks/pre-revprop-change.tmpl
|
985
|
-
- test/repositories/svn_with_branching/hooks/pre-unlock.tmpl
|
986
|
-
- test/repositories/svn_with_branching/hooks/start-commit.tmpl
|
987
|
-
- test/repositories/svn_with_branching/locks/db-logs.lock
|
988
|
-
- test/repositories/svn_with_branching/locks/db.lock
|
908
|
+
- test/repositories/svn_with_branching.tgz
|
989
909
|
- test/repositories/svn_with_invalid_encoding.tgz
|
990
910
|
- test/repositories/svn_with_tree_move/README.txt
|
991
911
|
- test/repositories/svn_with_tree_move/conf/authz
|
@@ -1,21 +0,0 @@
|
|
1
|
-
### This file is an example authorization file for svnserve.
|
2
|
-
### Its format is identical to that of mod_authz_svn authorization
|
3
|
-
### files.
|
4
|
-
### As shown below each section defines authorizations for the path and
|
5
|
-
### (optional) repository specified by the section name.
|
6
|
-
### The authorizations follow. An authorization line can refer to a
|
7
|
-
### single user, to a group of users defined in a special [groups]
|
8
|
-
### section, or to anyone using the '*' wildcard. Each definition can
|
9
|
-
### grant read ('r') access, read-write ('rw') access, or no access
|
10
|
-
### ('').
|
11
|
-
|
12
|
-
[groups]
|
13
|
-
# harry_and_sally = harry,sally
|
14
|
-
|
15
|
-
# [/foo/bar]
|
16
|
-
# harry = rw
|
17
|
-
# * =
|
18
|
-
|
19
|
-
# [repository:/baz/fuz]
|
20
|
-
# @harry_and_sally = rw
|
21
|
-
# * = r
|
@@ -1,8 +0,0 @@
|
|
1
|
-
### This file is an example password file for svnserve.
|
2
|
-
### Its format is similar to that of svnserve.conf. As shown in the
|
3
|
-
### example below it contains one section labelled [users].
|
4
|
-
### The name and password for each user follow, one account per line.
|
5
|
-
|
6
|
-
[users]
|
7
|
-
# harry = harryssecret
|
8
|
-
# sally = sallyssecret
|
@@ -1,30 +0,0 @@
|
|
1
|
-
### This file controls the configuration of the svnserve daemon, if you
|
2
|
-
### use it to allow access to this repository. (If you only allow
|
3
|
-
### access through http: and/or file: URLs, then this file is
|
4
|
-
### irrelevant.)
|
5
|
-
|
6
|
-
### Visit http://subversion.tigris.org/ for more information.
|
7
|
-
|
8
|
-
[general]
|
9
|
-
### These options control access to the repository for unauthenticated
|
10
|
-
### and authenticated users. Valid values are "write", "read",
|
11
|
-
### and "none". The sample settings below are the defaults.
|
12
|
-
# anon-access = read
|
13
|
-
# auth-access = write
|
14
|
-
### The password-db option controls the location of the password
|
15
|
-
### database file. Unless you specify a path starting with a /,
|
16
|
-
### the file's location is relative to the conf directory.
|
17
|
-
### Uncomment the line below to use the default password file.
|
18
|
-
# password-db = passwd
|
19
|
-
### The authz-db option controls the location of the authorization
|
20
|
-
### rules for path-based access control. Unless you specify a path
|
21
|
-
### starting with a /, the file's location is relative to the conf
|
22
|
-
### directory. If you don't specify an authz-db, no path-based access
|
23
|
-
### control is done.
|
24
|
-
### Uncomment the line below to use the default authorization file.
|
25
|
-
# authz-db = authz
|
26
|
-
### This option specifies the authentication realm of the repository.
|
27
|
-
### If two repositories have the same authentication realm, they should
|
28
|
-
### have the same password database, and vice versa. The default realm
|
29
|
-
### is repository's uuid.
|
30
|
-
# realm = My First Repository
|
@@ -1 +0,0 @@
|
|
1
|
-
9 6 5
|
@@ -1 +0,0 @@
|
|
1
|
-
2
|
@@ -1 +0,0 @@
|
|
1
|
-
fsfs
|