@@ -32,6 +32,7 @@ GitMigration >> allAuthors [
32
32
allAuthors
33
33
ifNil: [ | authorsSet |
34
34
authorsSet := Set new .
35
+ authorsSet add: Author fullName.
35
36
self versions
36
37
do: [ :each | authorsSet addAll: (self authorsInSnapshot: each veryDeepCopy snapshot) ]
37
38
displayingProgress: [ :each | ' Loading authors... ' , each info name ].
@@ -134,22 +135,21 @@ GitMigration >> completeAncestryOfPackageNamed: aPackageName [
134
135
GitMigration >> createFastImportAt: anInitialCommitish usingWriter: aWriter [
135
136
| totalOrdering versions |
136
137
aWriter initialCommit: anInitialCommitish.
138
+ (authors isNil or : [ authors isEmpty ])
139
+ ifTrue: [ self error: ' Please provide authors.' ].
137
140
authors
138
- keysAndValuesDo: [ :key :duet |
139
- aWriter authorMapping
140
- shortName: key
141
- name: duet first
142
- email: ((duet second withoutPrefix: ' <' ) withoutSuffix: ' >' ) ].
141
+ keysAndValuesDo:
142
+ [ :key :duet | aWriter authorMapping shortName: key name: duet first email: ((duet second withoutPrefix: ' <' ) withoutSuffix: ' >' ) ].
143
143
self
144
144
do: [ totalOrdering := self commitOrder.
145
- versions := totalOrdering
146
- collect: [ :info | self versions detect: [ :version | version info = info ] ] ]
145
+ versions := totalOrdering collect: [ :info | self versions detect: [ :version | version info = info ] ] ]
147
146
displaying: ' Ordering history...' .
148
147
aWriter availableVersions: (versions collect: #info ).
149
148
self preChecksOn: versions.
150
149
versions
151
150
do: [ :each | aWriter writeVersion: each veryDeepCopy ]
152
- displayingProgress: [ :each | ' Exporting version ' , each info name ]
151
+ displayingProgress: [ :each | ' Exporting version ' , each info name ]
152
+ every: 0
153
153
]
154
154
155
155
{ #category : #ui }
0 commit comments