This repository was archived by the owner on Feb 23, 2018. It is now read-only.
File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,16 @@ Git SVN repo: https://github.com/lrytz/asm
6
6
Upgrading ASM
7
7
-------------
8
8
9
+ Check the commit history of src/asm: https://github.com/scala/scala/commits/2.11.x/src/asm.
10
+ Find the previous commit that upgraded ASM and take a look at its commit message. It should
11
+ be a squashed version of a pull request that shows the precise procedure how the last upgrade
12
+ was made.
13
+
9
14
Start by deleting all source files in src/asm/ and copy the ones from the latest ASM release.
10
15
11
16
Excluded Files (don't copy):
12
17
- package.html files
13
- - org/objectweb/asm/commons
18
+ - org/objectweb/asm/commons, but keep CodeSizeEvaluator.java
14
19
- org/objectweb/asm/optimizer
15
20
- org/objectweb/asm/xml
16
21
@@ -27,4 +32,6 @@ Re-packaging and cosmetic changes:
27
32
- remove trailing whitespace
28
33
find src/asm/scala/tools/asm -name '*.java' | xargs sed -i '' -e 's/[ ]*$//'
29
34
30
- Actual changes: check the git log for [asm-cherry-pick] after the previous upgrade.
35
+ Include the actual changes that we have in our repostiory
36
+ - Include the commits labelled [asm-cherry-pick] in the non-squashed PR of the previous upgrade
37
+ - Include the changes that were added to src/asm since the last upgrade and label them [asm-cherry-pick]
You can’t perform that action at this time.
0 commit comments