I am currently using `pyflyte register` to bundle ...
# ask-the-community
m
I am currently using
pyflyte register
to bundle code for a workflow. This code includes protobufs which need to be compiled. The issue i'm facing is compiled protos are in the
.gitignore
so the
pyflyte register
command will not package them since it uses git ls-files to determine which files to include. Have other people encountered this issue, and if so how have they worked around it? From what i can tell there isn't built-in way to disable the GitIgnore from looking at fast_package / pyflyte.
k
Sadly there isn’t one and you want to not disable it else you may copy .git folder
Are these your own protos?
m
yes
k
Maybe we can add —force-include flag?
Want to contribute
m
Yeah simple smile
k
Thank you
m
looks like
pyflyte package
also calls fast_registration.fast_package. Would probably want to add the option to both
pyflyte register
and
pyflyte package
k
Ya uses the same code