Skip to content

Conversation

@mhoeger
Copy link
Contributor

@mhoeger mhoeger commented Apr 5, 2018

We'd like to share this code for the .proto template file across all language workers to keep from getting out of sync and to keep from having to add changes to each repo manually.
(See here: Azure/azure-functions-host#2296)

The current proposed solution is to share this repo using git. This PR describes the process. Alternatively, we could share this code using language-respective package managers. The git approach seemed like a simpler solution since we are just sharing the template file and not language-specific files.

@mhoeger mhoeger requested review from JunyiYi and pragnagopa April 5, 2018 01:45
@mhoeger
Copy link
Contributor Author

mhoeger commented Apr 5, 2018

@1st1 and @radu-matei - your input would also be appreciated!

@1st1
Copy link

1st1 commented Apr 5, 2018

Marie, making this repo a git submodule or subtree would totally work for the python-worker project!

@pragnagopa
Copy link
Member

@mhoeger - Please can you please open tracking bugs on Java, Python and Node language worker repos to consumer .proto from here?

Copy link

@radu-matei radu-matei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, adding a submodule would work.

LGTM

@mhoeger
Copy link
Contributor Author

mhoeger commented Apr 5, 2018

Note: we're going to use subtrees not submodules. Submodules are notoriously painful, and combining git subtrees with an addition to the parent repo's .gitignore gives us the same benefits as submodules without the associated pain

@mhoeger mhoeger merged commit 59c902a into Azure:dev Apr 5, 2018
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

Successfully merging this pull request may close these issues.

4 participants