- I want to create Issues with Sub-Issues and be able to clone them. Is that somehow possible? I would need that for onboarding new employees.
- Is there some kind of automation possible to create an issue every 15th? I would need that for the office team to have a ticket for accounting.
- Can I restrict forms to projects? For example, I wish to have an “Office Form” that is only available in the office project?
I think there will be more, but these would be my most important ones.
The first thing (cloning tasks) seems super-possible doing an extension. I don't know how to create extensions, so I just create CLI scripts like this one :D T15754 at the moment. Other people here can help to create extensions.
Restrict forms to projects: This, on the other hand, is something that would make sense even upstream here in my opinion. But I am not clear on which side. Maybe from the side of a Workboard. So each Workboard chooses their creation forms. Task welcome on this.
Oh and I was previously using https://github.com/phabricator-docker/phabricator and I converted that to phorge: https://github.com/datenknoten/docker-phorge/
And it is running here already:
@tsc What about progress bars instead? :D :D :D For example see here: "3 of 3 points" - https://gitpull.it/project/view/263/ - to enable that, just create a Milestones, enable points (/config/edit/maniphest.points/) and play
There's a "clone" feature on tasks, but I can't find a button for it.
I think https://we.phorge.it/book/phorge/article/forms/ covers "cloning" or "templating", or at least "prefilling" a form
If I wanted to build an extension that adds a menu item here, what would be a good start into that?
Would that be doable with a PhabricatorEventListener? Something in the likeness of this?
https://github.com/motla/phixator/blob/master/event/PhixatorUIEventListener.php
This does exactly what I need: https://we.phorge.it/source/phorge/browse/master/src/applications/system/events/PhabricatorSystemDebugUIEventListener.php
I'll try to stick some extension together.
Sorry for being my ruber duck.
What is that "@task" in the inline documentation?
I also started to create a setup file for the dev containers (https://github.com/willson556/phorge-devcontainer):
Setting up the user works fine, but how would I persist the PhabricatorPasswordAuthProvider and then set a password for that user?
There's actually some stuff in https://we.phorge.it/book/arcanist/, like https://we.phorge.it/book/arcanist/article/core_quick_reference/, but it's hard to find because it's in the same space as all the class-doc stuff.
Digging through the code with vscode helps a lot, also reading unit tests. I think I now have a good grasp what transactions are. One of the big annoyances is that id() destroys the type information and disables intelisense. I tried applying a generic, but somehow that did not work: https://blog.devsense.com/2022/generics-in-php-using-phpdoc
What is your result here?
arc unit ./src/infrastructure/markup/remarkup/__tests__/PhutilRemarkupEngineTestCase.php
I don't know if it's caused by D25415 but the unit test is green at git reset --hard dc10a7e69ea3
OK, I've used git bisect and fails on 7868ab3754
do you want to host it here? Phactory: Community Projects
something like that?
It seems WMF updated to stable with strange crashes https://phabricator.wikimedia.org/T358610#9642933
It would be cool if someone could have a look at that, and please correct me if I'm totally off the beaten path with my approach, as I'm relatively new to developing in this area:
It seems 328aee033fbd is causing search issues (Q121) - because there is a feature that allows to paste a Phorge URL in the search bar, to be redirect here 🤔
It seems that core features is based on untested cases of PhabricatorEnv::isSelfURI().
Thanks for additional eyes - D25561
If you visit https://we.phorge.it/book/dev/, you'll note that:
(1) it takes a long time to load, and
(2) it has lots of items - one for each class in the code.
I suspect that it also has some purpose-written articles, that are lost in the noise.
Some of these (https://we.phorge.it/book/dev/function/qsprintf/) have actual content that's easier to read in rendered Remarkup, but most just list the methods.
It also requires to re-generate them, and the flow is such that they would usually be several weeks out of date.
What do we think about removing them from this site?
Missing option "I don't know but we should write more PHPDoc :D"
I have an interesting crash visiting this page https://we.phorge.it/T15064
Undefined index: PHID-TASK-7nsqj4gmspgyirmlgejq Stack trace: PhutilErrorHandler::handleError called at [/var/www/arcanist/src/utils/AbstractDirectedGraph.php:126] AbstractDirectedGraph::getNodesInTopologicalOrder called at [/var/www/phorge/src/infrastructure/graph/PhabricatorObjectGraph.php:202] PhabricatorObjectGraph::newGraphTable called at [/var/www/phorge/src/applications/maniphest/controller/ManiphestTaskDetailController.php:129] ManiphestTaskDetailController::handleRequest called at [/var/www/phorge/src/aphront/configuration/AphrontApplicationConfiguration.php:284] phlog called at [/var/www/phorge/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41] PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable called at [/var/www/phorge/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
I have an interesting crash visiting this page https://we.phorge.it/T15064
Looks like the task graph got too big or something... All the tasks are public.
It's just a feeling, but maybe the query goes into burnout (or whatever it's called) and doesn't return all the results, and the graph gets broken
https://we.phorge.it/maniphest/graph/15064 works as expected
@avivey if you could work on T15773: Community Project: Gantt Diagrams that would be magnificent. I could already push some code.
(sorry please edit file and set Visible to all users)
For some reasons my link for "See other changes" in D25576 was this, and was crashy to me
https://we.phorge.it/transactions/showolder/PHID-DREV-em7vleytcec4vifhqir5/?after=16576"eTargetID=UQ0_1"eRef=D25576
Undefined index: in applications/differential/engine/DifferentialRevisionTimelineEngine.php : 24
Yep thanks, here → T15785
Is that Phabricator? O.o wow. Such CSS local patches. https://developers.facebook.com/blog/post/2022/11/15/meta-developers-workflow-exploring-tools-used-to-code/