Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a flag or command to build source packages #1577

Open
jsoriano opened this issue Nov 30, 2023 · 1 comment
Open

Add a flag or command to build source packages #1577

jsoriano opened this issue Nov 30, 2023 · 1 comment

Comments

@jsoriano
Copy link
Member

Originally proposed by @ruflin in elastic/package-spec#351 (comment)

Add a flag or subcommand to build source packages.

A source package would be a zip file that contains all the unmodified source files of a package, and would contain enough information to reproduce the build of the package.

It could be implemented as a flag for the elastic-package build command: elastic-package build --source. The generated source package could have an additional extension, something like .src.zip.

For packages in repositories with multiple packages, the source packages will also need to contain information that may not be in the directory of the package, as the license or the links tables.

We would also need to support signing these packages, in case we publish them in the registry.

@ruflin
Copy link
Member

ruflin commented Jan 24, 2024

I filed a more specific issue for the sample data generation potentially using this feature here: #1640 It also proposes an alternative shortcut solution which doesn't mean we should stop any effort around source packages as I still see this as the final solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants