Page MenuHomePhabricator

Wohlstand (Vitaly)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Nov 16 2018, 12:45 PM (283 w, 5 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Vdnovichkov [ Global Accounts ]

Recent Activity

Jul 11 2021

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Ping?

Jul 11 2021, 12:19 PM · Patch-For-Review, SyntaxHighlight

Jan 5 2021

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

@Krinkle, the shared hosting at the Masterhost company (https://masterhost.ru/), gives the system-wide PHP installation and doesn't allow to give custom php.ini completely.

Jan 5 2021, 1:51 AM · Patch-For-Review, SyntaxHighlight

Nov 26 2020

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Ping?

Nov 26 2020, 6:29 AM · Patch-For-Review, SyntaxHighlight

Nov 10 2020

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Just now I sent a new patch to resolve the given notices.

Nov 10 2020, 9:30 PM · Patch-For-Review, SyntaxHighlight

Nov 9 2020

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Ping? Any news on this?

Nov 9 2020, 10:44 AM · Patch-For-Review, SyntaxHighlight

May 22 2020

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Just now I had to resolve conflict and I rebased my commit to the top.

May 22 2020, 9:55 AM · Patch-For-Review, SyntaxHighlight

Jan 20 2020

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Hello again!
What the current state of the patch review? I reminding again after two months waiting.

Jan 20 2020, 1:37 PM · Patch-For-Review, SyntaxHighlight

Nov 27 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Hello!
Do you have any news? Here is a patch I have sent more than one month ago https://gerrit.wikimedia.org/r/538404
Can you review and merge it, or comment it out if any questions are still?

Nov 27 2019, 8:50 AM · Patch-For-Review, SyntaxHighlight

Oct 6 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

So, what do you think now? @Krinkle

Oct 6 2019, 7:03 PM · Patch-For-Review, SyntaxHighlight

Oct 3 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Just now I have sent the 8'th patch to fix an error that was reported by that bot.

Oct 3 2019, 8:36 PM · Patch-For-Review, SyntaxHighlight

Oct 2 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Can anyone poke a verifying again? https://gerrit.wikimedia.org/r/538404
A week ago I have sent a 7'th patch to that, and which isn't tested yet.

Oct 2 2019, 4:20 PM · Patch-For-Review, SyntaxHighlight

Sep 25 2019

Wohlstand updated the task description for T209700: Add support for Pygments ran as CGI application via HTTP.
Sep 25 2019, 2:00 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.
Sep 25 2019, 1:57 PM · Patch-For-Review, SyntaxHighlight

Sep 22 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Okay, just now I have added the secret key requirement. Without a secret key, it will don't work.

Sep 22 2019, 9:25 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

MW-side rate-limiting of some sort.

Sep 22 2019, 8:37 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Just my small trivia:
Anyway, it's just sad to drop the support for GeSHi as it worked anywhere without any Popen requirement. I understand that Pygments gives much better support and much more set of languages to highlight, however, it:

  • won't work if Popen is blocked (A reason why I made this feature)
  • it's python code which requires also python interpreter be installed in the system
  • Python can't work as fast-cgi to serve many queries, and every need runs an extra python instance.
Sep 22 2019, 8:04 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Also, it's worth thinking about abuse vectors and security. We would normally expose this although through the API so that we can rate limit it within a session or by other means. Not sure how to do that in this case.

Sep 22 2019, 7:54 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

It seems odd I think for a host to allow Popen in Python but not in PHP? Should we ship and maintain this as built-in functionality for that use case?

Sep 22 2019, 7:47 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Okay, I have replaced the "toString()" with "text()", I hope this will work...

Sep 22 2019, 4:57 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

is a condition "is Ok?" and when it's NOT ok, the 337 works

$error = 'Failed to invoke Pygments: ' . $status->getMessage()->toString();

Do you mean I should un-escape the output of $status->getMessage()->toString() to stop this thing blame? Or use a different function to get non-escaped string?

Sep 22 2019, 4:44 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

line 337

Sep 22 2019, 4:20 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Okay, all 3 first tests are now passing, however, this, 4'th unit test, just looks odd: https://integration.wikimedia.org/ci/job/mwext-php72-phan-seccheck-docker/11181/console, it fails because of rsync:

16:57:24 rsync: failed to set times on "/cache/.": Operation not permitted (1)
16:57:30 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.2]
Sep 22 2019, 2:10 PM · Patch-For-Review, SyntaxHighlight

Sep 21 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Thanks!

Sep 21 2019, 10:45 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

The problem I don't see any "abandon" at all... All patches I have uploaded by Gerrit Uploader, and that just probably that robot is only who can do that, but it just can't. Therefore is only privileged person can help me to do that...

Sep 21 2019, 10:42 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

P.S. Can someone nuke this garbage (these three reviews I have post), IDK how to do that myself, or I just have no permission to do that:

Sep 21 2019, 10:38 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Just now I made a fix of notices:

  • added config option into "extension.json"
  • changed that new option's type into just bool with default "false"
Sep 21 2019, 10:36 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Okay, I have finally found a time window to replace CURL with MWHttpRequest which I have tested on my end and it works:
https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/SyntaxHighlight_GeSHi/+/538404/

Sep 21 2019, 10:01 PM · Patch-For-Review, SyntaxHighlight

Jul 31 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Ok, thanks for a tip, @Daimona. I'm pretty familiar with CLI git as I using it for a long time (since 2014) for my own projects. Once I'll make a proper thing, I'll try to upload it again.

Jul 31 2019, 6:14 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Ok, @TheDJ, will try to change the CURL with MWHttpRequest thing and then, will post an updated patch. I have pulled your minor fixes, thanks for them!

Jul 31 2019, 11:38 AM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Thanks, @Daimona for help!
Anyway, I see it does a test of old errors I have fixed in an updated patch:

Jul 31 2019, 9:52 AM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Hi, @Aklapper , I did next:

# re-clonned repo from Gerrit
git clone ssh://wohlstand@gerrit.wikimedia.org:29418/mediawiki/extensions/SyntaxHighlight_GeSHi.git
cd SyntaxHighlight_GeSHi
# applied my patch with a change (added a new commit)
git am --signoff < 0001-Allow-Pygments-to-be-run-via-CGI.patch
# Then
git review -r origin -s
# and finally
git review -r origin -R

I'll try to ask the question on the forum, but this whole thing looks like a weird mess...

Jul 31 2019, 9:36 AM · Patch-For-Review, SyntaxHighlight

Jul 30 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Okay, I have installed git-review 1.28.0 by pip, however, it still fails:

$ git review -R
remote: 
remote: Processing changes: refs: 1
remote: Processing changes: refs: 1, done            
To ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SyntaxHighlight_GeSHi.git
 ! [remote rejected] HEAD -> refs/for/master (cannot add patch set to 474518.)
error: failed to push some refs to 'ssh://wohlstand@gerrit.wikimedia.org:29418/mediawiki/extensions/SyntaxHighlight_GeSHi.git'
$ git branch
  master
* review/gerrit_patch_uploader/474518
Jul 30 2019, 10:35 AM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Sorry for waiting, I did the change, however, I can't submit it with no way:

Jul 30 2019, 10:31 AM · Patch-For-Review, SyntaxHighlight

Jul 17 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

I see here some sort of code style / static analysis failure... Okay, will re-check this and will submit an update...

Jul 17 2019, 2:08 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

The reason for that V-1 was NOT my issue, it happened because of another issue that was in the state that was in a moment where I have submitted my patch. I think I'll try to re-poke it to trigger the re-check...

Jul 17 2019, 2:03 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Hello!
Almost half of the year has been passed. Are you too busy and can't review this patch and give a rate on it?

Jul 17 2019, 1:33 PM · Patch-For-Review, SyntaxHighlight

Jan 15 2019

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Hello! I want to ask you how are you? I have seen your Jenkins bot said "Verify -1" because of some weird "quibble-vendor-mysql-hhvm-docker" failure... Can anyone poke that bot to re-check the patch?

Jan 15 2019, 3:04 PM · Patch-For-Review, SyntaxHighlight

Nov 17 2018

Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Sent just now:
https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/SyntaxHighlight_GeSHi/+/474518/

Nov 17 2018, 11:59 PM · Patch-For-Review, SyntaxHighlight
Wohlstand added a comment to T209700: Add support for Pygments ran as CGI application via HTTP.

Oh, nice! I have sent the raw patch because I hadn't any sort of understanding where to submit this, I'll try out this...

Nov 17 2018, 11:08 PM · Patch-For-Review, SyntaxHighlight

Nov 16 2018

Wohlstand updated the task description for T209700: Add support for Pygments ran as CGI application via HTTP.
Nov 16 2018, 1:40 PM · Patch-For-Review, SyntaxHighlight
Wohlstand created T209700: Add support for Pygments ran as CGI application via HTTP.
Nov 16 2018, 1:10 PM · Patch-For-Review, SyntaxHighlight