Skip to content

Introduce support for FileNameTransformers - #290

Merged
rfscholte merged 4 commits into
masterfrom
filetransfomers
Jul 18, 2026
Merged

rfscholte merged 4 commits into
masterfrom
filetransfomers

Conversation

@rfscholte

@rfscholte rfscholte commented Jul 17, 2026 •

Copy link
Copy Markdown
Member

This feature will make it possible to transform the filename and its data of mock repositories.

This can be done by settings the TransformDirectiveSource for the mockReposity.
Currently only metadata is supported, which means it reads its directives from the .mrm-transform.properties.
There might be an "inline" in the future, which reads the directives from the file itself.

I'll work on a classfile-api contentTransformer, starting the support of module-info.java to module-info.class.
With this you'll have readable files as source, having binary files as output without the need for calling javac.

@rfscholte rfscholte changed the title Introduce support for FileRenamers/Transformers Introduce support for FileNameTransformers Jul 18, 2026
@rfscholte
rfscholte merged commit 431eda6 into master Jul 18, 2026
48 of 63 checks passed
@rfscholte
rfscholte deleted the filetransfomers branch July 18, 2026 09:36
@slachiewicz slachiewicz added the enhancement New feature or request label Sep 14, 2026
slachiewicz pushed a commit that referenced this pull request Nov 9, 2026
With this feature it will be possible to rename a file in a directory-based archive. This will be especially useful when the content transformation is finished too. Then it will be possible to go from a text file to a binary file, keeping the sources readable.

(cherry picked from commit 431eda6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants