You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since there are no indications whether the default branch where to store the publiccode.yml file has to be master, maybe the standard should provide more details.
This may be a problem when a repository does not have a branch named master.
The text was updated successfully, but these errors were encountered:
The obvious and backward compatible thing to do would be adding an optional branch key, but the standard is (purposely?) vague on which VCS are supported, but explicitly references Subversion.
Now, Subversion can address branches in its URLs and I think this is true for Bazaar and Mercurial as well, unlike git.
Do we want to define the supported VCSs in url so we can make better informed decisions with branch key or do we want to be generic and future proof?
If we pick the former we can name the new key gitBranch and have validations in place for invalid cases like using SVN with or without a branch in the URL and a non-empty gitBranch.
If we pick the latter, branch would be "branch for all the VCS that don't allow addressing branches in their URL, ie git 90% of the times".
Discussion
Since there are no indications whether the default branch where to store the
publiccode.yml
file has to bemaster
, maybe the standard should provide more details.This may be a problem when a repository does not have a branch named
master
.The text was updated successfully, but these errors were encountered: