Page MenuHomePhorge

Wikimedia Hackaton 2023 Athens Code Sprint
Updated 334 Days AgoPublic

NOTE: This started as a wiki to coordinate work during the Hackaton 2023 but now it's kind of a presentation. It can be deleted later probably if you dislike this page. Premising it's somehow funny.

Is Phabricator dead?

Phabricator dead.png (302×831 px, 29 KB)

Planned Things on Phorge.it this week-end

Feel free to add stuff here.

Primarily, since we have a lot of open revisions, we could do some code review:

D25220: PhabricatorModularTransactionType: fix regression
D25232: PhabricatorPhabricatorAuthProvider: Remove unnecessary Remarkup
D25233: Fix PHP 8.1 Fatal error in Figlet: Use square brackets instead of curly braces
D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex
D25235: Fix PHP 8.1 "strlen(null)" exception which blocks Working Copy blueprint creation in Drydock
D25230: Fix PHP 8.1 "strlen(null)" exception trying to create an empty Menu Item
D25229: Fix PHP 8.1 "explode(null)" exception which blocks rendering "Provide Multi-Factor Credentials" page
D25228: Fix PHP 8.1 exception in Conduit: Make "array_fuse(array $list)" accept null as parameter
D25227: Fix PHP 8.1 "strlen(null)" exception which blocks rendering "Browse Dashboards" dialog
D25226: Fix PHP 8.1 "strlen(null)" exceptions which block rendering Legalpad signatures
D25224: Fix PHP 8.1 "trim(null)" exception which blocks rendering Reports' Burnup Rate page
D25223: Fix PHP 8.1 "strlen(null)" exception which blocks task Bulk Editor page
D25222: Fix PHP 8.1 "strlen(null)" exception setting Story Points on a Task
D25221: Fix PHP 8.1 exceptions which block adding an embedded File preview as a Comment
D25219: Fix PHP 8.1 "strlen(null)" exceptions which block adding 2FA factor
D25218: Fix PHP 8.1 "strlen(null)" exception which blocks rendering MFA Provider page
D25216: Fix PHP 8.1 "strlen(null)" exceptions setting up Username/Password Authentication Provider
D25215: Fix PHP 8.1 "strlen(null)" exception shown when sending SMS Test Message to Contact Number
D25210: Fix PHP 8.1 "ltrim(null)" exception which blocks adding additional user email address
D25206: Fix PHP 8.1 "strlen(null)" exception from ArcanistRefView which blocks "arc look remotes"
D25204: Fix PHP 8.1 "strlen(null)" exception which can block repository imports
D25203: Remove PHP version suffixes on "Missing Required Extensions"; Mention dnf
D25192: Ponder Answer Comments: indent textarea as Comments
D25191: Auto-subscription: little less verbose
D25179: Fix PHP 8.1 null parameter exceptions which block rendering the "Browse Projects" overlay dialog
D25176: Fix PHP 8.1 "strlen(null)" exception which blocks creating a project with an empty Description field
D25175: Fix PHP 8.1 "strlen(null)" and "explode()" exceptions which block rendering Administrator Account Creation page
D25165: Fix PHP 8.1 "strlen(null)" exceptions which block rendering the DarkConsole
D25149: Config page: add $HOME to allow a gitconfig and help on "dubious ownership"
D25148: Config page: add lovely git-related error messages in standard error log
D25120: Mobile: hide unuseful "Persistent Chat" checkbox
D25118: Remarkup: make less internal links open in new tabs
D25117: phutil_nonempty_scalar(): don't throw when receiving a boolean scalar
D25108: PHP Pitfalls: mention strlen() deprecation since PHP 8.1
D25080: Workboard Trigger Rule: allow to Add/Remove Subscribers
D25079: Trigger: Add Sound "Coin"
D25078: Trigger: Capitalize most Buzzwords in our Weird Way as usual
D25073: Replace dirname(__FILE__) with __DIR__ (available since PHP 5.3)
D25066: Workboard: Milestone Name easily editable (instead of surfing 3 pages)
D25049: Update the extracted cURL SSL CA bundle
D25038: Conduit column.search: add status, sequence and isDefault to API results
D25034: support language highlighting for GFM-style code blocks
D25033: Packages: Load'em from .cache
D25231: AphrontFormControl: fix regression for some specific Captions

Extra notes:

https://phabricator.wikimedia.org/T336167

Friends found in this Path

Phroge Diagram.png (681×784 px, 79 KB)

Weird Phings

The command line has weird phings:

arc patch

OK but...

arc anoid

Arc anoid Phorge.png (997×1 px, 17 KB)


The command line has weird stuff²

$ arc look
 <!> Arcventure
You stand in the middle of a small clearing in the woods.

It is midday. The sun is high overhead and the air is still. It is very warm.
You hear the cry of a hawk high overhead and far in the distance.

Several small trails and footpaths cross here, twisting away from you among
the trees.

Just ahead to the north, you can see *remotes*.


$ arc look remotes
 <!> Arcventure

You follow a wide, straight path to the north and arrive in a grove of fruit
trees after a few minutes of walking. The grass underfoot is thick and small
insects flit through the air.

At the far edge of the grove, you see remotes:

  *   origin
        Push URI: ssh://git@we.phorge.it/source/phorge.git
        Push Repository: Phorge
        Fetch URI: ssh://git@we.phorge.it/source/phorge.git
        Fetch Repository: Phorge

Across the grove, a stream flows north toward **published** commits.

$ arc look published
 <!> Arcventure

You walk along the narrow bank of the stream as it winds lazily downhill and
turns east, gradually widening into a river.

Floating on the water, you see published commits:

10fae71a042f07d8901afd5dc2d737317f27a126
aa27cccc8713540a496b4f62429615531be74add

They river bubbles peacefully.

Phorge generates weird stuff

Hey {{{template}}}

Hey {{{template}}}

Reason:

Phorge generates figlet

figlet {{{
Yeah Yeah nice!
}}}
__ __ _ __ __ _ _ _ \ \ / /__ __ _| |__ \ \ / /__ __ _| |__ _ __ (_) ___ ___| | \ V / _ \/ _` | '_ \ \ V / _ \/ _` | '_ \ | '_ \| |/ __/ _ \ | | | __/ (_| | | | | | | __/ (_| | | | | | | | | | (__ __/_| |_|\___|\__,_|_| |_| |_|\___|\__,_|_| |_| |_| |_|_|\___\___(_)

Phorge generates cows

cowsay {{{
Yeah Yeah nice!
}}}
_________________ < Yeah Yeah nice! > ----------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||

Phorge blocks commits in weird ways

>>> orbital ~/repos/POEMS $ git push origin :blarp
remote: +---------------------------------------------------------------+
remote: |      * * * PUSH REJECTED BY EVIL DRAGON BUREAUCRATS * * *     |
remote: +---------------------------------------------------------------+
remote:             \
remote:              \                    ^    /^
remote:               \                  / \  // \
remote:                \   |\___/|      /   \//  .\
remote:                 \  /V  V  \__  /    //  | \ \           *----*
remote:                   /     /  \/_/    //   |  \  \          \   |
remote:                   @___@`    \/_   //    |   \   \         \/\ \
remote:                  0/0/|       \/_ //     |    \    \         \  \
remote:              0/0/0/0/|        \///      |     \     \       |  |
remote:           0/0/0/0/0/_|_ /   (  //       |      \     _\     |  /
remote:        0/0/0/0/0/0/`/,_ _ _/  ) ; -.    |    _ _\.-~       /   /
remote:                    ,-}        _      *-.|.-~-.           .~    ~
remote:   \     \__/        `/\      /                 ~-. _ .-~      /
remote:    \____(Oo)           *.   }            {                   /
remote:    (    (--)          .----~-.\        \-`                 .~
remote:    //__\\  \ DENIED!  ///.----..<        \             _ -~
remote:   //    \\               ///-._ _ _ _ _ _ _{^ - - - - ~
remote: 
remote: 
remote: DANGEROUS CHANGE: The change you're attempting to push deletes the branch 'blarp'.
remote: Dangerous change protection is enabled for this repository.
remote: Edit the repository configuration before making dangerous changes.
remote: 
To ssh://dweller@localhost/diffusion/POEMS/
 ! [remote rejected] blarp (pre-receive hook declined)
error: failed to push some refs to 'ssh://dweller@localhost/diffusion/POEMS/'

Phorge generates memes

Technical syntax:

whatcouldgowrong

Generates:

whatcouldgowrong


"Seems good to me"

sgtm

sgtm

What else? Let's dig Phorge together!

https://we.phorge.it/

Last Author
valerio.bozzolan
Last Edited
May 25 2023, 14:18