User talk:QChris (WMF)

From MediaWiki.org
(Redirected from User talk:QChris)
Jump to navigation Jump to search

HoverGallery[edit]

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. --Felipe (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[edit]

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#Setting up a local Git repository. 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)

A bowl of strawberries for you![edit]

Erdbeerteller01.jpg Thank you for your work! Lvova (talk) 15:26, 13 September 2013 (UTC)

How to push to empty repos[edit]

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! --Felipe (talk) 05:53, 18 September 2013 (UTC)

Hi Felipe! 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)[edit]

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 — 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 CategoryTagSorter 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 — 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[edit]

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[edit]

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.

New git repository[edit]

Hi QChris. If you could take a look at my Git repository request when you have a moment, it would be much appreciated :) Peter Coombe (talk) 21:14, 14 April 2014 (UTC)

Yes Done QChris (talk) 23:08, 14 April 2014 (UTC)
Thank you! Peter Coombe (talk) 10:51, 15 April 2014 (UTC)

phabricator/extensions/BurnDownCharts ?[edit]

Hi QChris, at Git/New repositories/Requests you said you had created a repository at phabricator/extensions/BurnDownCharts. However, I can't find it. Swidmann, are you working in that repo already?--Qgil (talk) 13:42, 10 July 2014 (UTC)

Hi Qgil, I'll make my initial commit this weekend, i worked in my local repo so far. The repo is at phabricator/extensions/BurnDownCharts --Swidmann (talk) 13:46, 10 July 2014 (UTC)
Thank you Swidmann. Good to see that you have started! I couldn't find it in git.wikimedia.org. Nevermind. For your information, we are aiming to deploy Wikimedia Phabricator Day 1 by the end of September. It would be great to have your extension ready by then.--Qgil (talk) 16:53, 10 July 2014 (UTC)
Hi. I see that the you seem to have found the repo. If problems arise with it, please let me know. --QChris (talk) 20:44, 10 July 2014 (UTC)
Hi Qgil, i think that was a "lost in translation" problem, i worked a bit on my own local VM repo, i haven't pushed my changes to gerrit yet. I planned a basic BurnDownChart for August. --Swidmann (talk) 08:55, 11 July 2014 (UTC)

Teahouse git repo[edit]

Hi QChris, at Git/New repositories/Requests you asked about the Teahouse repo. Teahouse will be implemented as MediaWiki extension with a "gadgetize" script. So you can run it as MediaWiki extension, but on wikipedia.de it will be a gadget. --Swidmann (talk) 05:50, 12 August 2014 (UTC)

Hi Swidmann, thanks for clarifying.
Yes Done I created the repo for the Teahouse extension. QChris (talk) 08:33, 13 August 2014 (UTC)
Hi QChris, thanks for creating, just one question: how can i add another person to the group "extension-Teahouse", or is there another way to give a "+2" right to a colleague?
Hi Swidmann, just send me the username, and I'll add the user. QChris (talk) 07:21, 2 September 2014 (UTC)
Yes Done The users have been added to the group. QChris (talk) 11:34, 3 September 2014 (UTC)

Tooltip extension[edit]

Hi QChris,

my wikitech user name is "Frank Baxmann", Instance shell account name is "baxi69".

I also got now an answer from Paul, he agreed that i continue with the extension.

I also read that some other extension uses the "tooltip" tag (i think glossar...). Maybe it's a good idea to change the tag and the extension name?

Greetings, Frank

p.s. i read a bit about Merge review and open push. I got the impression, that it is very difficult and much work to prepare the extension for MR mode. Can you confirm this? Baxi69 (talk) 13:31, 2 September 2014 (UTC)

Re: Username. Thanks. I added you to the repo now.
Re: Tag Name. I do not have an opinion about the tag name.
Re: Repo Name. Gerrit cannot rename repositories. If you want to “switch” to a new repository name, we can create a new repository for the new name, and import the old repo's git history there.
Re: “Open push” vs. “Merge review”. “Merge review” is easier to set up (for me :-) ). And it's easier to discuss code, as each change has it's own page where you can discuss code. It's the default. If you want to use “Open push” only because you want to avoid having to click through Gerrit's UI ... You can commit using Gerrit's API (e.g.: using ssh).
QChris (talk) 11:42, 3 September 2014 (UTC)
Re: Repo Name. I keep the name "tooltip" for the Repo. This is known, and users shall find the extension update.
Re: Tag Name. I think i will change to "ToolHelp" with a config switch in the extension to the old tag name.
Re. "Merge review": No it's not about the Gerrit's UI. I found a few articles about the different things you have to prepare for autotesting the code. This was the part what gave me the impression to be very difficult and huge to do. A lot of work for a small extension...
Baxi69 (talk) 12:44, 3 September 2014 (UTC)

Delete project then recreate it[edit]

Hi please delete metrolook skin and then please recreate it and import it from https://github.com/paladox2015/Metrolook please. reason because i seemed to have changed ref to refs/refs/for/master instead of it being refs/for/master. i am the author and my gerrit name is paladox and my mediawiki name is paladox2017 Paladox2017 (talk) 20:20, 3 October 2014 (UTC)

Yes Done The project is subscribed by others, so delete+recreate will probably cause more troubles than it'd solve. So I instead dropped the refs/refs/for/master branch for you. Now, uploading commits for review works again: https://gerrit.wikimedia.org/r/#/c/164764/ . --QChris (WMF) (talk) 11:28, 5 October 2014 (UTC)
thankyou 86.135.249.187 13:05, 5 October 2014 (UTC)

https://www.mediawiki.org/wiki/Extension:Purge[edit]

Hi please move https://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Purge/ to git please. I am not the author the author is name of extension Purge

Ævar Arnfjörð Bjarmason

I am not requesting it on the request page because I doint have an account and doint want to create an account. 86.135.248.76 15:29, 28 December 2014 (UTC)

We only bring repos to git, if there is a maintainer for it. Who will maintain the Purge git repository? --QChris (WMF) (talk) 18:51, 1 January 2015 (UTC)

ShrinkTheWeb[edit]

Hi Chris, some time ago you created a repo for me at /mediawiki/extensions/ShrinkTheWeb, but for some reason I forgot to upload the files, even though I created the documentation (here). So recently I noticed and I want to upload the files, but when I clone the repo with:

git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ShrinkTheWeb.git

I get "fatal: remote error: Git repository not found". What could be happening? Does the repo exist? Thanks! --Felipe (talk) 21:09, 17 August 2016 (UTC)