INRIA / spoon

Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.
http://spoon.gforge.inria.fr/
Other
1.74k stars 346 forks source link

improve reproducible build architecture for Spoon #5760

Open monperrus opened 5 months ago

monperrus commented 5 months ago

as part of the release pipeline, we should:

hboutemy commented 4 months ago

no worries for Reproducible Central: I have automation that makes it easy to update without the help of projects see https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/doc/add.md for details, if you are interested

at spoon level, what I really need is either no beta to Maven Central, or if you want to publich to Maven Central, publish a git tag as you do with releases: see https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/fr/inria/gforge/spoon/spoon-core/README.md

on rebuilding when something is published, I manage, no worry

algomaster99 commented 4 months ago

publish a git tag as you do with releases

I have tried it here https://github.com/INRIA/spoon/pull/5530. Just need a reviewer to look at it.

algomaster99 commented 1 month ago

or if you want to publich to Maven Central, publish a git tag as you do with releases

@hboutemy Spoon also publishes the git tag for beta releases https://github.com/INRIA/spoon/releases/tag/v11.0.1-beta-17 onwards. :tada:

@monperrus both of the tasks in the issue description is taken care by reproducible-central. we can close this issue.

hboutemy commented 1 month ago

@algomaster99 really nice: 11.0.1-beta-17 now confirmed reproducible https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/fr/inria/gforge/spoon/spoon-core/README.md (buildspec published, README will be updated tonight) 🎉

monperrus commented 1 month ago

that's great progress.

what do you think of pushing the buildinfo file to Maven Central directly, with each staging?

algomaster99 commented 1 month ago

what do you think of pushing the buildinfo file to Maven Central directly, with each staging?

We can do it for the sake of good practice. @hboutemy will this help you in any way?

hboutemy commented 1 month ago

this won't really help in addition, rebuilding is valuable when done by a third party

don't worry, rebuilding is not really complex, I have all necessary helpers