From 5b94dd7cc1eed6887281043a672d4c198ffbc87a Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Fri, 6 Jul 2018 14:31:22 +0200 Subject: [PATCH 1/8] Initial README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 98a7305..cd39e8b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# byteman +# Fedora byteman module -Automatically requested module for rpms/byteman:byteman. \ No newline at end of file + $ dnf module install byteman From 7c395c560b4e1064b44ef39a34fd62f1a0704470 Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Fri, 6 Jul 2018 14:46:57 +0200 Subject: [PATCH 2/8] Initial module definition. --- byteman.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 byteman.yaml diff --git a/byteman.yaml b/byteman.yaml new file mode 100644 index 0000000..441a87a --- /dev/null +++ b/byteman.yaml @@ -0,0 +1,46 @@ +--- +document: modulemd +version: 2 +data: + summary: Java agent-based bytecode injection tool + description: >- + Byteman is a tool which simplifies tracing and testing of Java programs. + Byteman allows you to insert extra Java code into your application, + either as it is loaded during JVM startup or even after it has already + started running. The injected code is allowed to access any of your data + and call any application methods, including where they are private. + You can inject code almost anywhere you want and there is no need to + prepare the original source code in advance nor do you have to recompile, + repackage or redeploy your application. In fact you can remove injected + code and reinstall different code while the application continues to execute. + license: + module: + - MIT + dependencies: + - buildrequires: + platform: [f27, f28] + requires: + platform: [f27, f28] + profiles: + default: + rpms: + - byteman + api: + rpms: + - byteman + filter: + rpms: + - byteman-javadoc + - objectweb-asm-javadoc + components: + rpms: + objectweb-asm: + buildorder: 10 + ref: byteman + rationale: > + Build time dependency of byteman. + byteman: + buildorder: 20 + ref: byteman + rationale: > + Module API From 01225f9e82adb0adcb36e99f55b606f6832f87d4 Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Fri, 6 Jul 2018 15:22:36 +0200 Subject: [PATCH 3/8] Add condition for objectweb-asm (no OSGi). --- byteman.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/byteman.yaml b/byteman.yaml index 441a87a..e4ca341 100644 --- a/byteman.yaml +++ b/byteman.yaml @@ -32,6 +32,10 @@ data: rpms: - byteman-javadoc - objectweb-asm-javadoc + buildopts: + rpms: + macros: | + %_without_osgi 1 components: rpms: objectweb-asm: From 38c1f9c92f2da76111fb8e47311c97bc36d19cab Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Wed, 11 Jul 2018 16:25:51 +0200 Subject: [PATCH 4/8] Only build on F28. --- byteman.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/byteman.yaml b/byteman.yaml index e4ca341..c8b23db 100644 --- a/byteman.yaml +++ b/byteman.yaml @@ -18,9 +18,9 @@ data: - MIT dependencies: - buildrequires: - platform: [f27, f28] + platform: [f28] requires: - platform: [f27, f28] + platform: [f28] profiles: default: rpms: From 3d65874fbd5131ef83a828110a35cccc9ad6b034 Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Thu, 22 Nov 2018 15:40:55 +0100 Subject: [PATCH 5/8] Attempt build with ASM OSGi. --- byteman.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byteman.yaml b/byteman.yaml index c8b23db..4dc90a0 100644 --- a/byteman.yaml +++ b/byteman.yaml @@ -35,7 +35,7 @@ data: buildopts: rpms: macros: | - %_without_osgi 1 + %_without_osgi 0 components: rpms: objectweb-asm: From 0f38630e34fe9d28fef1e5259a1eb5e1698b7d8a Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Thu, 22 Nov 2018 17:15:43 +0100 Subject: [PATCH 6/8] Build precise revision. --- byteman.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/byteman.yaml b/byteman.yaml index 4dc90a0..567899e 100644 --- a/byteman.yaml +++ b/byteman.yaml @@ -35,12 +35,12 @@ data: buildopts: rpms: macros: | - %_without_osgi 0 + %_without_osgi 1 components: rpms: objectweb-asm: buildorder: 10 - ref: byteman + ref: 67ad7997d55937387bad2e6781ff01636b299714 rationale: > Build time dependency of byteman. byteman: From 7005901d765027717fe8d28a983525e9b762c4b9 Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Fri, 23 Nov 2018 15:00:29 +0100 Subject: [PATCH 7/8] Build with hopefully fixed objectweb-asm. --- byteman.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byteman.yaml b/byteman.yaml index 567899e..53befed 100644 --- a/byteman.yaml +++ b/byteman.yaml @@ -40,7 +40,7 @@ data: rpms: objectweb-asm: buildorder: 10 - ref: 67ad7997d55937387bad2e6781ff01636b299714 + ref: 50845a045ca6acf1f7454eea0c13a84f760a7974 rationale: > Build time dependency of byteman. byteman: From 9926dcebe7d85f398069a8e7c70e69e98acfe397 Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Fri, 23 Nov 2018 15:59:10 +0100 Subject: [PATCH 8/8] Build with asm osgi support and on F29 --- byteman.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/byteman.yaml b/byteman.yaml index 53befed..fb2f918 100644 --- a/byteman.yaml +++ b/byteman.yaml @@ -18,9 +18,9 @@ data: - MIT dependencies: - buildrequires: - platform: [f28] + platform: [f29, f28] requires: - platform: [f28] + platform: [f29, f28] profiles: default: rpms: @@ -35,12 +35,12 @@ data: buildopts: rpms: macros: | - %_without_osgi 1 + %_with_osgi 1 components: rpms: objectweb-asm: buildorder: 10 - ref: 50845a045ca6acf1f7454eea0c13a84f760a7974 + ref: c002125869ff1d50d8ef1346239f4854fc2abbea rationale: > Build time dependency of byteman. byteman: