Skip to content

hook(s) for ctan target #416

Open
Open
@cfr42

Description

@cfr42

The ctan target still copies files twice, as far as I can tell. There was a commit to address this, but it got reversed - possibly because somebody complained the fix much worse than the bug 😉 .

I'm adding this because I assume this has got forgotten and I'd forgotten about it, too.

This is what I remember of that discussion:

The basic problem I have is that l3build wants to build a non-compliant archive and I need to persuade it to build a compliant one. Right now, I copy a key function and wrap it. Then I change the value of the variables which determine what gets packed. If I don't change the variables, l3build adds new copies of files I've moved into the correct places.

But the fix removed the first copy rather than the second, which made it impossible to have the files copied and move them into the right place without rewriting the entire function, rather than just wrapping it. Removing the second, on the other hand, wouldn't work for bundles (possibly?). A hook in the right place would make it possible to move files copied at the right place to work for bundles. So, there was going to be a hook ... (or hooks, maybe? I think there was another use-case, too. @davidcarlisle, possibly?)

[I know this is confused. A less confused discussion is on TeX SE somewhere .... This is just a postit note ....]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions