Go to **[[ https://phabricator.wikimedia.org/T265463 | T265463 ]]**
Scroll down to the repositories and copy the repo: wikidata/query/gui
Search it on the internet
Expected: https://www.mediawiki.org/wikidata/query/gui
Result: No information is available for this page
**[[ https://www.mediawiki.org/wiki/Developer_access | https://www.mediawiki.org/wiki/Developer_access ]]**
I tried cloning the repo by editing another repo, after modifying the .gitignore file by adding /tests/selenium/log, I tried pushing the commit to Gerrit
Expected: Succesful
Actual Results:
USER@DESKTOP-O8MNHDO MINGW64 ~/gui (master)
$ ssh -p 29418 blessingdickson@gerrit.wikimedia.org
**** Welcome to Gerrit Code Review ****
Hi BlessingDickson, you have successfully connected over SSH.
Unfortunately, interactive shells are disabled.
To clone a hosted Git repository, use:
git clone ssh://blessingdickson@gerrit.wikimedia.org:29418/REPOSITORY_NAME.git
Connection to gerrit.wikimedia.org closed by remote host.
Connection to gerrit.wikimedia.org closed.
USER@DESKTOP-O8MNHDO MINGW64 ~/gui (master)
$ git add *.gitignore*
USER@DESKTOP-O8MNHDO MINGW64 ~/gui (master)
$ git commit
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
USER@DESKTOP-O8MNHDO MINGW64 ~/gui (master)
$ git push origin HEAD:ref/for/master
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 378 bytes | 14.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2)
remote: error: branch refs/heads/ref/for/master:
remote: You need 'Create' rights to create new references.
remote: User: blessingdickson
remote: Contact an administrator to fix the permissions
remote: Processing changes: refs: 1, done
To https://gerrit.wikimedia.org/r/wikidata/query/gui
! [remote rejected] HEAD -> ref/for/master (prohibited by Gerrit: not permitted: create)
error: failed to push some refs to 'https://gerrit.wikimedia.org/r/wikidata/query/gui'
USER@DESKTOP-O8MNHDO MINGW64 ~/gui (master)
$