-
Notifications
You must be signed in to change notification settings - Fork 10
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 ability to exclude certain files from the Packager #37
Comments
PR adds an alter hook so other modules can do this. |
@quicksketch please let me know if a simple hook like this will do the trick. This blocks the work I linked to above so would appreciate a look. I'm also wondering if the alter should also pass the directory url to make it easier to build full urls in implementations. |
The hook looks great! There's a small issue in the example documentation though, could you replace the |
Not sure about this. The current hook seems like it would do the job. Could you provide a further example that would use the directory path? |
On Gitter: @quicksketch to recap, this hook would help to push through adding more data in info files. backdrop-ops/backdropcms.org#487 (comment)
See @quicksketch reply: |
Looks great! I merged #38 into 1.x-1.x branch. Thanks! |
Woohoo! |
That said, we have a parallel discussion at #33 that might change this. I'll cross link over here and see if there are use-cases for which we need to adjust. |
When packaging zip files, we currently get a zip from GitHub, unzip, modify all .info files, and then rezip them all into a new archive.
During this process, it would be nice to be able to remove certain blacklisted files, such as CI scripts like .travis.yml, .zenci.yml, etc.
The packager currently lives in project_github.module, in
_project_github_create_package()
.The text was updated successfully, but these errors were encountered: