-
Notifications
You must be signed in to change notification settings - Fork 39
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
Consider creating a microservices key #62
Comments
Great proposal, I would like to say that the components seperately are
'codebases' or 'products' in their own right, so them having a
`publiccode.yml` in the file seems right to me.
Perhaps we can tell people that the metarepo, and especially the `README`
in that can serve as an important entrypoint for the project and give them
a reason to work on that. This readme could include things such as high
level overview, the business cases etcetera.
…On Tue, 18 Jun 2019 at 11:03, libremente ***@***.***> wrote:
Current situation
We are experiencing some issues with projects containing different repos
inside.
Let's make an example.
PROJECT A
--> microservice 1
--> microservice 2
...
--> microservice n
Right now we are encouraging PAs to create a new repo, let's call it
metarepo, in order to store the information regarding the whole project.
This metarepo will contain the publiccode.yml file which will be indexed
in the catalog.
However, this solution has some flaws:
a) if the metarepo does not have a clear README file, the information
regarding the other repositories (containing the n microservices) will be
rather vague or lost. This is suboptimal.
b) the vitality index is calculated exclusively based upon the
information regarding the metarepo and this does not make sense.
Proposal
We should add a key, called for example components or microservices
containing the list of repositories "related" to the project. As such, the
metarepo will still contain the publiccode.yml file inside but each repo
will be somehow listed in the catalog. This could also facilitate the
calculation of the vitality index.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/italia/publiccode.yml/issues/62?email_source=notifications&email_token=AAOUFPNRWKND36QCXNMNXWDP3CQGHA5CNFSM4HY523N2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2CSOUQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOUFPJGAGLK2JW4WBIYNZLP3CQGHANCNFSM4HY523NQ>
.
|
@bvhme I understand your point of view and I believe this is true for well built standalone microservices or components which can be deployed "independently" from the other pieces. However, we are facing some products which have several not really independent pieces so I fear that inserting a publiccode.yml in each of those repo would generate confusion when browsing the catalog. I don't have a clear solution to this yet.
Exactly, this is our view of a |
Hi there from the city administration of Münster, Germany, and thanks for We are starting to use the What to do with these project structures? One (Referencing the corresponding issues: bCyberGmbH/leezenflow-doku#2 , bCyberGmbH/leezenflow-design#1 , reedu-reengineering-education/smart-city-dashboard-backend#4 ) |
Hi all, this is also an issue I expect we will be facing with many source code from the French public sector. I am in favor of the metarepo approach. I'm tempted to use Another (complementary?) suggestion is to add a key to declare that a I would refrain from adding a |
@Smart-City-Muenster it's a pleasure to have you here! I'm happy you're finding I agree with your concerns and I also see what @bzg is saying. I think that having a I agree that a machine-readable solution would be preferrable, and I love the name |
Yes! Due to private reasons (good ones!) my PR is a bit late, sorry for that. |
Current situation
We are experiencing some issues with projects containing different repos inside.
Let's make an example.
Right now our solution is to tell PAs to create a new repo, let's call it
metarepo
, in order to store the information regarding the whole project. Thismetarepo
will contain thepubliccode.yml
file which will be indexed in the catalog.However, this solution has some flaws:
a) if the
metarepo
does not have a clearREADME
file, the information regarding the other repositories (containing the n microservices) will be rather vague or lost. This is suboptimal.b) the
vitality index
is calculated exclusively based upon the information regarding themetarepo
and this does not make sense.Proposal
We should add a key, called for example
components
ormicroservices
, containing the list of repositories "related" to the project. As such, themetarepo
will still contain thepubliccode.yml
file inside but each repo will be somehow listed in the catalog. This could also facilitate the calculation of thevitality index
.The text was updated successfully, but these errors were encountered: