Re: [onap-discuss] Fixing invalid YAML in read only git repos
Sure but my point is that the YAML should at least be valid. There are many repos in this state. It would be nice to be able to programmatically exclude these repos from my scripts, but I can't do that with the YAML content as it stands now. Michael On Sat., 19 May 2018, 4:02 am Gildas Lanilis, wrote: > Hi Michael, > > > > Aai-config repo is no longer used by AAI Team, and thus the repo has been > locked. > > You can use this link to see status of the repo in Gerrit: > https://gerrit.onap.org/r/#/admin/projects/?filter=aai > > > > > > Thanks, > > Gildas > > ONAP Release Manager > > 1 415 238 6287 > > > > *From:* onap-discuss-boun...@lists.onap.org [mailto: > onap-discuss-boun...@lists.onap.org] *On Behalf Of *Michael Still > *Sent:* Wednesday, May 16, 2018 6:01 PM > *To:* onap-discuss@lists.onap.org > *Subject:* [onap-discuss] Fixing invalid YAML in read only git repos > > > > Hi, > > > > the INFO.yaml file in aai/aai-config is syntactically invalid, as are > several others. I figured I'd just fix this, but my review was rejected > because the repo is marked as read only: > > > > $ git review > > Could not connect to gerrit. > > Enter your gerrit username: mikal > > Trying again with ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git > > Creating a git remote called "gerrit" that maps to: > >ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git > > > > This repository is now set up for use with git-review. You can set the > > default username for future repositories with: > > git config --global --add gitreview.username "mikal" > > > > Your change was committed before the commit hook was installed. > > Amending the commit to add a gerrit change id. > > remote: Processing changes: refs: 1, done > > To ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git > > ! [remote rejected] HEAD -> refs/publish/master (project is read only) > > error: failed to push some refs to 'ssh:// > mi...@gerrit.onap.org:29418/aai/aai-config.git' > > > > Having valid YAML in these info files would be useful to me as I starting > to write simple scripts that try to use this information. Is there any path > to getting these files fixed? > > > > Thanks, > > Michael > > > > -- > > Did this email leave you hoping to cause me pain? Good news! > > Sponsor me in city2surf 2018 and I promise to suffer greatly. > > http://www.madebymikal.com/city2surf-2018/ > ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
Re: [onap-discuss] Fixing invalid YAML in read only git repos
Hi Michael, Aai-config repo is no longer used by AAI Team, and thus the repo has been locked. You can use this link to see status of the repo in Gerrit: https://gerrit.onap.org/r/#/admin/projects/?filter=aai [cid:image001.jpg@01D3EE97.AD1B0D60] Thanks, Gildas ONAP Release Manager 1 415 238 6287 From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Michael Still Sent: Wednesday, May 16, 2018 6:01 PM To: onap-discuss@lists.onap.org Subject: [onap-discuss] Fixing invalid YAML in read only git repos Hi, the INFO.yaml file in aai/aai-config is syntactically invalid, as are several others. I figured I'd just fix this, but my review was rejected because the repo is marked as read only: $ git review Could not connect to gerrit. Enter your gerrit username: mikal Trying again with ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git<http://mi...@gerrit.onap.org:29418/aai/aai-config.git> Creating a git remote called "gerrit" that maps to: ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git<http://mi...@gerrit.onap.org:29418/aai/aai-config.git> This repository is now set up for use with git-review. You can set the default username for future repositories with: git config --global --add gitreview.username "mikal" Your change was committed before the commit hook was installed. Amending the commit to add a gerrit change id. remote: Processing changes: refs: 1, done To ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git<http://mi...@gerrit.onap.org:29418/aai/aai-config.git> ! [remote rejected] HEAD -> refs/publish/master (project is read only) error: failed to push some refs to 'ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git<http://mi...@gerrit.onap.org:29418/aai/aai-config.git>' Having valid YAML in these info files would be useful to me as I starting to write simple scripts that try to use this information. Is there any path to getting these files fixed? Thanks, Michael -- Did this email leave you hoping to cause me pain? Good news! Sponsor me in city2surf 2018 and I promise to suffer greatly. http://www.madebymikal.com/city2surf-2018/ ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss
[onap-discuss] Fixing invalid YAML in read only git repos
Hi, the INFO.yaml file in aai/aai-config is syntactically invalid, as are several others. I figured I'd just fix this, but my review was rejected because the repo is marked as read only: $ git review Could not connect to gerrit. Enter your gerrit username: mikal Trying again with ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git Creating a git remote called "gerrit" that maps to: ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git This repository is now set up for use with git-review. You can set the default username for future repositories with: git config --global --add gitreview.username "mikal" Your change was committed before the commit hook was installed. Amending the commit to add a gerrit change id. remote: Processing changes: refs: 1, done To ssh://mi...@gerrit.onap.org:29418/aai/aai-config.git ! [remote rejected] HEAD -> refs/publish/master (project is read only) error: failed to push some refs to 'ssh:// mi...@gerrit.onap.org:29418/aai/aai-config.git' Having valid YAML in these info files would be useful to me as I starting to write simple scripts that try to use this information. Is there any path to getting these files fixed? Thanks, Michael -- Did this email leave you hoping to cause me pain? Good news! Sponsor me in city2surf 2018 and I promise to suffer greatly. http://www.madebymikal.com/city2surf-2018/ ___ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss