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

Parameter to get sources with dget #7

Open
escherstair opened this issue Oct 9, 2024 · 2 comments
Open

Parameter to get sources with dget #7

escherstair opened this issue Oct 9, 2024 · 2 comments

Comments

@escherstair
Copy link
Contributor

escherstair commented Oct 9, 2024

When I would like building a debian package, I can use dget command to ge the sources.
I would like having a parameter to specify that the sources to be built must be download with dget (instead of having them in the git repo).

I see that under the hood it uses torizon/build-deb-action, so probably some new parameters is needed there, before

@charles2910
Copy link
Contributor

@escherstair, our reusable workflow is based on jtdor/build-deb-action and it's crafted to build from the debianized (upstream code + debian dir) repo. Changing that would require a good amount of work and is not a need we have right now.

If you want to use it to build a package, you can always dget -x url/to/package.dsc, cd into the directory git add ., commit and then add this workflow. It should work correctly and build the package.

@escherstair
Copy link
Contributor Author

@charles2910 I jhad already added a request on the original jtdor/build-deb-action repo.
I don't expect that toradex takes care about such an implementation.
I think that using dget would be the most debianic way to get the sources of a debian package.

If you want to use it to build a package, you can always dget -x url/to/package.dsc, cd into the directory git add ., commit and then add this workflow. It should work correctly and build the package.

Is it possible to put the above steps in a github workflow?
Can you provide an example?

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