User talk:QChris (WMF)

HoverGallery
Hi QChris, thanks for creating the repo SectionDisqus. About the impossibility to rename Hovergallery, wouldn't it be possible to just delete it and create a new one? I have only done one or two commits, so really no git history would be lost. Thanks. --LFS (talk) 08:44, 19 August 2013 (UTC)


 * Hi, we could delete Hovergallery and create HoverGallery. However, this would cause lots of side effects. Gerrit's watchers of Hovergallery will not get alerted for changes on HoverGallery. History of changes gets lost. It seems TranslateWiki has already been set up for Hovergallery; how does that cope with renaming? We cannot update users' wikis (that enabled Hovergallery) to use HoverGallery instead of Hovergallery. ... So deleting the old one and creating a new one is disruptive. As written on the repo request page, file a bug about it. But ^demon is the authority here. So I guess it's better to ask him directly. QChris (talk) 10:14, 19 August 2013 (UTC)

Request for pywikibot/bots/drtrigonbot repo
Hello QChris

What I need is a repo for use with e.g. labs. There must be a way to do this - how to backup my labs files and so on in the long-term otherwise? As mentioned may be we should call it labs/tools/drtrigonbot ...? I don't know... or maybe per user/developer called pywikibot/users/drtrigonbot.

By the way; is it possible to create another repo later under a new name and move the actual one over, if needed?

Thanks and Greetings --DrTrigon (talk) 11:28, 30 August 2013 (UTC)


 * Hi, should this repo host the code for DrTrigonBot itself, or just some configuration files for DrTrigonBot? QChris (talk) 13:29, 2 September 2013 (UTC)


 * Hello! This repo shall host all additional files needed to run pywikibot as DrTrigonBot. Essentially config, development and experimental/test files as well as the whole webspace stuff and various other stuff. It is also the backup of my tool as mentioned on wikitech:Nova Resource:Tools/Help. Since labs has to replace the TS, it is the replacement for the SVN repo on the toolserver and I really need this! Thanks and Greetings --DrTrigon (talk) 06:18, 5 September 2013 (UTC)
 * Update; I re-phrased the request now according to some discussion on the IRC chat - please have a look! Greetings --DrTrigon (talk) 21:08, 7 September 2013 (UTC)
 * It's much clearer now. Thanks. I just created the repo. QChris (talk) 10:58, 10 September 2013 (UTC)
 * Cool! Thanks and greetings --DrTrigon (talk) 13:37, 10 September 2013 (UTC)

How to push to empty repos
Hi QChris, thanks for creating the repos. I'm having trouble committing to them though, maybe you can help me. This is what I do: first I clone the empty repo. Then I add the files, commit and push for review, but I get an error, related to the lack of the .gitreview file. So I looked around and found this. I copied and adapted the .gitreview file from another extension, as suggested, and tried to push for review again, but got a new error: Errors running git rebase -i remotes/gerrit/master fatal: Needed a single revision invalid upstream remotes/gerrit/master Do you know what it might mean? Or rather, do you know how can I start pushing to the new empty repos you created? Thanks! --LFS (talk) 05:53, 18 September 2013 (UTC)


 * Hi Luis! I am sorry. By the comments to your repo requests, I was under the impression that you want to push the history of old projects directly (which is easier if the target repo is empty). I now see, that my impression was wrong, so I now initialized the four repos with .gitreview files. Please clone them afresh, and you should be all set to use "git review". If you run into problems again, just let me know. QChris (talk) 10:19, 18 September 2013 (UTC)

Request for new git repository (Extension:CategoryTagSorter)
Hi QChris,

This will definitely be a real repository for a useful extension. I first started out with this project to open-source some of our custom MediaWiki extensions with a much larger extension &mdash; one that had preferences, UI-tweaks, new database-tables, etc. My team had the good idea to release a smaller extension first and enumerate all the things necessary (like making sure it's properly internationalized/localized, it's using the appropriate request context instead of global-variables, and the like.) The  extension is a little git less complex: it just sorts the category tags at the bottom of articles. It's very straightforward, but doesn't exist anywhere else (that I can find.)

--AlephNull (talk) 19:04, 23 September 2013 (UTC)


 * Your description on the project request page gave the impression to me that you just want to toy around. Thanks for the clarification that you actually want to implement a real extension. I created the repo. QChris (talk) 14:36, 25 September 2013 (UTC)


 * Thanks! I can appreciate the request for clarification &mdash; I'm currently looking at my own personal repository going "What are all these directories!?!" AlephNull (talk) 13:43, 26 September 2013 (UTC)

SemanticSifter repository error
I can't seem to access my repository. "access denied publickey". Im already a contributer to a number of other extensions, so my ssh key should really not be the issue. Can you doublecheck that everything is setup correctly?

Uhm, lol. nevermind. turned out i was logged in as a different user in the shell i was trying to clone from..

TitleIcon
Sorry - I put the incorrect username. My username in mediawiki is cindy.cicalese, but my username on wikitech is cicalese. Thanks!
 * No problem. I created the repo. QChris (talk) 08:56, 16 October 2013 (UTC)
 * Thanks! This is the first time I'm importing an extension, so any pointers would be appreciated! You mentioned creating a .gitreview file. If you could do so, that would be great! Thanks! Cindy Cicalese
 * I created and pushed the .gitreview file for the master branch

I'm probably doing something wrong, but I am unable to clone the new empty repo. I can see it at https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/TitleIcon. When I try to use one of the clone commands listed there (for example: "git clone ssh://cicalese@gerrit.wikimedia.org:29418/mediawiki/extensions/TitleIcon"), I get the following error message:

warning: remote HEAD refers to nonexistent ref, unable to checkout.

Am I doing something obvious wrong? Thanks!!


 * No, you're not doing anything wrong :-). As it's easier to push existing code & history into an empty repository, I created an empty repository for TitleIcon. However empty repositories are really empty. The do not even come with a master branch. However, gerrit's HEAD already refers to it. So when you're cloning such an empty repository, (your local) git warns you that the HEAD is pointing to master, and master does not exist on the remote (=gerrit). That's ok. But as you asked for a .gitreview file, and that requires creating the branch, and the warning should be gone now, if you clone afresh. If you still get the warning, please let me know.