Phorge (flame)Public**Public** chat suitable for do not disturb in the main channel - so to have spikes of high traffic. Tip: unset email notifications here :D
@valerio.bozzolan woohoo, I managed to fix the issue with my local Arcanist install! I am able to submit revisions again :D https://we.phorge.it/D25458
@valerio.bozzolan Now that I've got arc working again, I was able to finally update D25425 following your review. Can you check it again?
You are the best
Feel free to land this: D25458: Adjust message in timezone conflict form
Are you talking to me? Am I able to land patches? I didn't think I had the permission to do so.
@waldyrious Once your patch got accepted by O1 folks, you can land it as the patch author. (If the author does not land it, someone has to commandeer the patch first to take over, basically.)
Yeah that is the lovely weird Phorge workflow ®
arc patch D25458 arc land
Oh, nice :)
I almost got it, but I'm getting a weird error :/ → https://we.phorge.it/P25
Any hints?
Ah. Uhm. Maybe:
- If it asked you your HTTP credentials, they are these: https://we.phorge.it/settings/user/waldyrious/page/vcspassword/
- If it didn't ask your HTTP credentials, we have a problem in Phorge.it :D Sorry. Please use SSH.
- (preferred) push over SSH (in your phorge/.gitconfig file you should set ssh://git@we.phorge.it/source/phorge.git) and setup your SSH keys (https://we.phorge.it/settings/user/waldyrious/page/ssh/)
Note that I can run the very exact commands in my computer to land for you, but I know you really want to give this workflow a try since it's super weird the first time. Nice experience guaranteed asd
It didn't ask for credentials. I didn't have an SSH set up in my Phorge account either, but I do have SSH keys in my ~/.ssh, so maybe it tried to use them? Anyway, I did add one of my keys to https://we.phorge.it/settings/user/waldyrious/page/ssh/ and I still get the same error.
That said, I noticed that:
- git remote -v indicates that the remote URL for the phorge repo uses HTTP: https://we.phorge.it/source/phorge.git
- git config --list | grep ssh shows that I have set up the following url.ssh://git@github.com/.insteadof=https://github.com/ but nothing regarding phorge
So I'll try to change the remote URL and try again.
Ha! That must be it, because now it did show me the typical "authenticity of host" message that shows up when connecting over SSH for the first time, and indeed, the patch is now landed! 🎉
So I take away two things from this experience:
- The error messages need to be made clearer, or at least mention the possibility of the Issue I had and how to fix it
- The documentation needs to explain the steps to set up the repo locally for contribution in more detail. Currently neither https://we.phorge.it/book/contrib/article/contrib_intro/ nor https://we.phorge.it/book/contrib/article/contributing_code/ nor https://we.phorge.it/book/contrib/article/developer_setup/ explains this.
I'd be happy to contribute improvements on either front. Do you have any insight on how to proceed to do so?
Btw I also landed D25425! 😃 😃
Yeah, maybe we can split the section "Writing and submitting patches" to "Writing patches" and with "Submitting patches"
https://we.phorge.it/book/contrib/article/contributing_code/
So to also mention how to use Arcanist
https://we.phorge.it/book/phorge/article/arcanist_quick_start/
Also replacing Phacility with us :) asd
Also maybe more useful
https://we.phorge.it/book/phorge/article/arcanist_diff/
I don't think I know enough to make those changes myself 😅 so I started with a much simpler patch which I had already prepared before: D25465. Feel free to suggest additions/improvements there!
Could someone with permissions replace "today" by "25 August 2023" (I think?) on https://we.phorge.it/w/changelog/2023.32/ please? TIA
Done thanks (maybe we can escalate Aklapper as Blessed Communicator)
@valerio.bozzolan that was the fastest token I ever got 😂
I have now added before-after screenshots :)
(I'm speaking of https://we.phorge.it/D25485, for context)
@valerio.bozzolan is there anything missing on my side for D25466 to move forward? No hurries, just making sure we're not waiting on each other :)
Oh thanks. Tested again. Love it
I damn hate this week, at work we have a total mess and customers screaming about legacy stuff
My only friend at work is our Phorge installation and your patches
😅 😁 I'm glad they're offering some relief. Supporting legacy stuff is such a chore.
@valerio.bozzolan WDYT about this commment in particular? https://we.phorge.it/D25466#inline-3284
Actually, nevermind. Let's not get into the weeds for a minor optimization. I'll land the change as-is and later we can refine that bit if we deem it useful.
Yeah I've seen that comment but I don't know :D
I love over-engineering commit messages and putting stupid things in test plans btw
Hahah I lost count of how much time I've spent writing near-essays in commit message bodies 😅
WHOOOO ANOTHER BLESSED COMMITTER \o/ aklapper \o/
Nice! 👏👏
Lol @akpapper in D25494 I think we should roll a dice
Hi @sirocyl if you want ethernal glory, feel free to propose a patch - I'm talking about this: https://we.phorge.it/T15006#14958
So basically you do local changes and then you run ../arcanist/bin arc diff
Lol in this page there are 700+ talks and Phorge is the number 7
@aklapper is there a typo here? https://we.phorge.it/T15701#15029
I mean in "Projects are hashtags are tags."
Thanks @philj0st for the report in D25530 (you are now in the family of Trusted Contributors )
o/ no problem! thanks for the quick fix and warm welcome.
I am trying to set up Differential for existing Bitbucket repos.
Users can login via Bitbucket OAuth. To observe a Bitbucket repo from Differential do I need a technical user in Bitbucket (either via https or ssh).
Am I correct in my assumption there's no way to directly use Bitbucket's access control via OAuth (scopes/claims)?
Would copying the Bitbucket access control manually to Phorge policies be the only way to do it?
Sorry if this is the wrong place to ask. I'll gladly repost somewhere else if that's the case.
I'm quite sure that OAuth does not automagically import access controls at the moment, my friend
mmh yeah thought so :) thanks for the information!
(I'm also unaware of any similar software with a similar feature)
I just don't get the big picture. I mean:
- You have a repository on Diffusion, observing Bitbucket (nice, easy)
- You want a nice OAuth login to Bitbucket (nice, easy I think)
- You want
- You want that ONLY some people can see the BitBucket repository in BitBucket, and you want that very same permission in your Diffusion (?)
Maybe you can extend the OAuth login to automagically import teams from BitBucket, and create as related Tag in Phorge, maybe with a prefix like "BitBucket-Team-*", and force these Tags to be not editable by nobody.
So your Diffusion is Visible by that "BitBucket-Team-Foo"
So, the more people connect to OAuth, the more teams you import and the more people join the right groups
Great Idea! I might look into that. I'm also unaware of any similar software with a similar feature especially outside of the Atlassian stack, it was wishful thinking :) who knows.
And yes you got the big picture. My team used Upsource before, which has been sunset in 2023. We work trunk based and Bitbucket supports only PR-based reviews. For now we would mostly need Differential's features.
@mturdus I'm trying to install the lovely Diagrams app following https://we.phorge.it/source/diagrams/ but "arc liberate" gives an error to me from Phorge directory
LOAD ERROR Failed to load library at location "/var/www/phorge/src". This library is specified by "Configuration (Project Config File (/var/www/phorge/.arcconfig))". Check that the setting is correct and the library is located in the right place.
The error is resolved if I remove src/extensions/diagrams
My stack trace is
For more information, see: https://phurl.io/u/newclasses at [<arcanist>/src/init/init-library.php:26] arcanist(head=arcpatch-D25489, ref.master=8ef1ead6aca0, ref.arcpatch-D25489=8ef1ead6aca0), phorge(head=master, ref.master=e2bec4c1f58b) #0 __phutil_autoload(string) called at [<phorge>/src/extensions/diagrams/src/storage/Diagram.php:3] #1 PhutilBootloader::executeInclude(string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:291] #2 PhutilBootloader::loadExtension(string, string, string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:109] #3 PhutilBootloader::registerLibrary(string, string) called at [<arcanist>/src/init/lib/core.php:5] #4 phutil_register_library(string, string) called at [<phorge>/src/__phutil_library_init__.php:3] #5 include_once(string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:251] #6 PhutilBootloader::executeInclude(string) called at [<arcanist>/src/init/lib/PhutilBootloader.php:215] #7 PhutilBootloader::loadLibrary(string) called at [<arcanist>/src/init/lib/moduleutils.php:40] #8 phutil_load_library(string) called at [<arcanist>/src/runtime/ArcanistRuntime.php:457] #9 ArcanistRuntime::loadLibrary(ArcanistConfigurationEngine, string, string) called at [<arcanist>/src/runtime/ArcanistRuntime.php:374] #10 ArcanistRuntime::loadLibraries(ArcanistConfigurationEngine, ArcanistConfigurationSourceList, PhutilArgumentParser) called at [<arcanist>/src/runtime/ArcanistRuntime.php:104] #11 ArcanistRuntime::executeCore(array) called at [<arcanist>/src/runtime/ArcanistRuntime.php:37] #12 ArcanistRuntime::execute(array) called at [<arcanist>/support/init/init-arcanist.php:6] #13 require_once(string) called at [<arcanist>/bin/arc:10]
I mean, prefixed by
[2024-02-27 10:13:21] EXCEPTION: (PhutilMissingSymbolException) Failed to load symbol "DiagramDAO" (of type "class or interface"). The class or interface "DiagramDAO" is not defined in the library map of any loaded library.
(The class is there in ./src/extensions/diagrams/storage/DiagramDAO.php)
@aklapper I'm starting to have fun writing branch names for Differential folks - thanks again for that life lesson
@20after4 Ouch I see we have no documentation in No documentation here about that Remarkup feature. If you hack the document I will immediately +1 https://we.phorge.it/book/phorge/article/remarkup/
Hi @tsc you are now in the family of Trusted Contributors - thanks for any task
In T15121#16097, @aklapper wrote:Would you like to go to court to defend that statement? :)
YES
Don't worry be flame
@bekay probably n.3 and n.4 should be swapped in the README (?) https://we.phorge.it/source/diagrams/repository/master/