Page MenuHomePhorge
Feed Advanced Search

Jun 2 2023

speck added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

Arcanist internally generates a diff that includes a similar suggested parameter to account for the entire file contents being present in the resulting diff.

Jun 2 2023, 03:44 · Affects-FreeBSD, Differential

May 30 2023

aklapper closed T15269: Typos in English Differential strings: "Hold revision as as draft."; "You can not plan changes to this this revision" as Resolved by committing rPf2329f816504: Correct two spelling mistakes in Differential.
May 30 2023, 08:46 · Good Starter Task, Differential

May 28 2023

aklapper added a revision to T15269: Typos in English Differential strings: "Hold revision as as draft."; "You can not plan changes to this this revision": D25252: Correct two spelling mistakes in Differential.
May 28 2023, 13:31 · Good Starter Task, Differential

May 22 2023

speck added a comment to T15410: Discussion: stacked diffs / dependent revisions.

There is some support for this today, I have worked with dependent revisions in the past. There are some gaps but it’s possible today. I’ll look through my notes but I think this requires a fair amount of additional state tracking as commits change on local machines. I haven’t fully thought through it all but I think an ideal solution would be something like mercurial’s “evolve”, but that is likely a ton of work.

May 22 2023, 02:31 · Differential
20after4 added a comment to T15364: arc land complaints summary by FreeBSD community.
In T15364#8952, @avivey wrote:

"tooling for chains of diffs" might need its own topic, with a design of the what the whole thing should look like in an ideal world, and how to get to it.
Even if not all of the stuff fits nicely into Phorge, there's probably a lot that can work, and some conduit methods can be added to implement the rest.

May 22 2023, 01:32 · Arcanist, Differential, Affects-FreeBSD
20after4 added a comment to T15410: Discussion: stacked diffs / dependent revisions.

Breaking this out from the discussion at T15364: arc land complaints summary by FreeBSD community

May 22 2023, 01:31 · Differential
20after4 created T15410: Discussion: stacked diffs / dependent revisions.
May 22 2023, 01:30 · Differential

May 15 2023

avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

"tooling for chains of diffs" might need its own topic, with a design of the what the whole thing should look like in an ideal world, and how to get to it.
Even if not all of the stuff fits nicely into Phorge, there's probably a lot that can work, and some conduit methods can be added to implement the rest.

May 15 2023, 20:07 · Arcanist, Differential, Affects-FreeBSD
ton added a comment to T15364: arc land complaints summary by FreeBSD community.

Chaining Diffs is something that we would like to use more often, and it is definitely not used enough today. FreeBSD is a large codebase and making any change that is bigger than trivial often involves touching multiple parts of the system, the most difficult kind of change is architectural changes. We are limited by our tooling to a certain degree:

  • Keeping everything in one Diff makes it very difficult to review as well as reach consensus, as there are often multiple responsible parties involved. It also violates the ethos of Phab/Phorge of having small atomic changes.
  • Breaking changes down in smaller chunks has lots of downsides too - it is very hard to track and changes often get lost in depths of Differential.
May 15 2023, 19:55 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

mmm... I've never really worked where many changes are made of lots of dependent revisions - it's possible I've never even seen a chain of 3 revisions in the same repo. So I'm not sure about workflows for this kind of scenarios.

May 15 2023, 19:43 · Arcanist, Differential, Affects-FreeBSD
bsdimp added a comment to T15364: arc land complaints summary by FreeBSD community.

Yea, today I have about 50 lines of shell scripting that gets the different bits of data from the condon API point and then bashes them into a nearly acceptable commit message....

May 15 2023, 19:37 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

Ok, so here's my thoughts on moving this forward:

May 15 2023, 06:56 · Arcanist, Differential, Affects-FreeBSD

May 9 2023

ton updated subscribers of T15364: arc land complaints summary by FreeBSD community.
May 9 2023, 18:48 · Arcanist, Differential, Affects-FreeBSD
ton updated subscribers of T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
May 9 2023, 18:48 · Affects-FreeBSD, Differential
ton updated subscribers of T15250: Raw use of "git diff" provides insufficient Diff Context.
May 9 2023, 18:47 · Affects-FreeBSD, Differential

May 8 2023

20after4 added a comment to T15364: arc land complaints summary by FreeBSD community.

FWIW I think the test plan is configurable (that requirement can be disabled in phabricator's config server side which should remove it from commit messages in arc)

May 8 2023, 18:21 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

What are the reasons for doing commit message rendering on the server side?

May 8 2023, 06:57 · Arcanist, Differential, Affects-FreeBSD
ton added a comment to T15364: arc land complaints summary by FreeBSD community.

In an ideal world the solution should be as simple as having a template somewhere in {{repo_root}}/.arcanist/commit_template.j2 that arcanist injects values in and renders.

May 8 2023, 01:55 · Arcanist, Differential, Affects-FreeBSD

May 7 2023

avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

We can probably come up with a way to allow an extension to customize the "render template" implementation without forking (e.g., just add a hook in differential.getcommitmessage), but it would have to be very carful about the whole form-thing.
Maybe just adding an "for landing" flag in differential.getcommitmessage (or adding a different method) would solve this problem...

May 7 2023, 20:12 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.
In T15364#8281, @ton wrote:

The template is actually generated server side, not in arcanist, so it just a matter of getting the BSD Phorge server to have the right opinions.
Some of the sections can be configured already

Please point me in the right place in the code where I can find the template

May 7 2023, 20:06 · Arcanist, Differential, Affects-FreeBSD
ton added a comment to T15364: arc land complaints summary by FreeBSD community.

The template is actually generated server side, not in arcanist, so it just a matter of getting the BSD Phorge server to have the right opinions.
Some of the sections can be configured already

May 7 2023, 18:56 · Arcanist, Differential, Affects-FreeBSD
ton added a comment to T15364: arc land complaints summary by FreeBSD community.

re @avivey : arc land --hold sort of works but look at the ergonomics:

May 7 2023, 16:42 · Arcanist, Differential, Affects-FreeBSD
valerio.bozzolan renamed T15364: arc land complaints summary by FreeBSD community from arc land complaints summary to arc land complaints summary by FreeBSD community.
May 7 2023, 09:27 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

Alternatively - there's also arc land --hold, which does almost everything except for the git push, which would allow the user to update the commit message. Have anyone tried that?

May 7 2023, 09:27 · Arcanist, Differential, Affects-FreeBSD
valerio.bozzolan added a parent task for T15364: arc land complaints summary by FreeBSD community: T15096: Discuss Arcanist as a barrier to adoption of Phorge and how to address the underlying issues..
May 7 2023, 09:26 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15364: arc land complaints summary by FreeBSD community.

thanks @ton - these look very actionable:

May 7 2023, 09:25 · Arcanist, Differential, Affects-FreeBSD
avivey added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
In T15249#8232, @ton wrote:

@avivey today I tried arc patch to download a bunch of Diffs.

Some diffs check out OK. Lots of Diffs fail to be fetched, I get a very useless error message:

Exception
strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
(Run with `--trace` for a full exception trace.)
May 7 2023, 09:16 · Affects-FreeBSD, Differential
ton updated the task description for T15364: arc land complaints summary by FreeBSD community.
May 7 2023, 06:35 · Arcanist, Differential, Affects-FreeBSD
ton added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
May 7 2023, 03:03 · Affects-FreeBSD, Differential

May 6 2023

ton created T15364: arc land complaints summary by FreeBSD community.
May 6 2023, 23:08 · Arcanist, Differential, Affects-FreeBSD

May 2 2023

valerio.bozzolan added a cover image to T15332: Allow comment authors to change their inline comment Status (Done / Not Done).
May 2 2023, 21:07 · User-valerio.bozzolan, Differential
valerio.bozzolan triaged T15332: Allow comment authors to change their inline comment Status (Done / Not Done) as Wishlist priority.
May 2 2023, 21:07 · User-valerio.bozzolan, Differential

Apr 28 2023

ton added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

@avivey many developers do not use arcanist at all for reasons outlined in https://we.phorge.it/T15096#6224 - many do not wish to install php, some find arc interface confusing...

Apr 28 2023, 16:13 · Affects-FreeBSD, Differential
avivey added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

@ton: Why are "they" not using arc patch to download the patch?

Apr 28 2023, 15:28 · Affects-FreeBSD, Differential

Apr 25 2023

aklapper created T15269: Typos in English Differential strings: "Hold revision as as draft."; "You can not plan changes to this this revision".
Apr 25 2023, 09:47 · Good Starter Task, Differential

Apr 21 2023

avivey added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

T15011: Build a Phorge Developer Environment

Apr 21 2023, 08:58 · Affects-FreeBSD, Differential
valerio.bozzolan added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

This?

Apr 21 2023, 08:57 · Affects-FreeBSD, Differential
speck added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

I wanted to set up some docker/compose file or possibly a VM but didn’t get far since neither of those are great solutions on windows, primarily for getting local code into the container/vm. My goal would be to get a quick setup time with a rapid dev/test cycle. For me to make progress I’ll likely have to switch to mac or Linux.

Apr 21 2023, 01:44 · Affects-FreeBSD, Differential

Apr 20 2023

valerio.bozzolan added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
In T15249#6474, @speck wrote:

Getting set up with a development environment (including database~) along with configuring the local instance and populating it with sample data is extremely daunting and is frankly why I haven’t done much contributing. I lost my dev environment a few years ago and have tried only once to get set back up, spent a few hours and never came back to it. It doesn’t help that arcanist’s self linter isn’t usable on windows systems.

I suspect the barrier is more the dev environment and less PHP or the codebase.

Apr 20 2023, 06:52 · Affects-FreeBSD, Differential

Apr 19 2023

speck added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

Getting set up with a development environment (including database~) along with configuring the local instance and populating it with sample data is extremely daunting and is frankly why I haven’t done much contributing. I lost my dev environment a few years ago and have tried only once to get set back up, spent a few hours and never came back to it. It doesn’t help that arcanist’s self linter isn’t usable on windows systems.

Apr 19 2023, 23:55 · Affects-FreeBSD, Differential
valerio.bozzolan added a project to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends: Affects-FreeBSD.
Apr 19 2023, 07:29 · Affects-FreeBSD, Differential
valerio.bozzolan added a project to T15250: Raw use of "git diff" provides insufficient Diff Context: Affects-FreeBSD.
Apr 19 2023, 07:29 · Affects-FreeBSD, Differential

Apr 18 2023

valerio.bozzolan updated the task description for T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
Apr 18 2023, 15:11 · Affects-FreeBSD, Differential
avivey added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
In T15249#6391, @ton wrote:

Ok, after spending a weekend looking at PHP I can say that I overestimated my level of enthusiasm.

Apr 18 2023, 15:07 · Affects-FreeBSD, Differential
20after4 added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

I might be willing to take a stab at this but not sure when I'll have the time.

Apr 18 2023, 05:51 · Affects-FreeBSD, Differential
20after4 added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

Phabricator's codebase is mostly high quality and fairly easy to jump into but I probably wouldn't recommend it for someone new to PHP :D

Apr 18 2023, 05:49 · Affects-FreeBSD, Differential

Apr 17 2023

ton added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

It is hard to say objectively, as I am new to PHP and to this codebase in particular. In total I spent probably 4-6 hours over the weekend, but someone with more experience could've done a lot more in that time. I was reading about PHP, setting up my dev environment, reading the code, navigating class hierarchy, trying to understand PHP idioms, etc. In the end of the day I realized that learning yet another language (and TBH not the most sexy one) in my free time to hack on a gigantic legacy codebase is not something that I want to do.

Apr 17 2023, 21:16 · Affects-FreeBSD, Differential
valerio.bozzolan added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

Ihih maybe we can have a "number of hours invested in this" as warning. Ton: how much?

Apr 17 2023, 21:11 · Affects-FreeBSD, Differential
valerio.bozzolan added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

I admit that I would be TOTALLY impressed if ton would be able to do something like THIS as first contribution. Fortunally this fail just means you are a human being.

Apr 17 2023, 21:10 · Affects-FreeBSD, Differential
ton added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

Ok, after spending a weekend looking at PHP I can say that I overestimated my level of enthusiasm. This is the kind of work that I'd like to get paid for and not spend my free time on.
Sorry @avivey, but you can cross me off the list of potential code contributors.

Apr 17 2023, 19:39 · Affects-FreeBSD, Differential

Apr 16 2023

valerio.bozzolan updated the task description for T15250: Raw use of "git diff" provides insufficient Diff Context.
Apr 16 2023, 17:47 · Affects-FreeBSD, Differential
valerio.bozzolan updated the task description for T15250: Raw use of "git diff" provides insufficient Diff Context.
Apr 16 2023, 17:20 · Affects-FreeBSD, Differential
valerio.bozzolan updated the task description for T15250: Raw use of "git diff" provides insufficient Diff Context.
Apr 16 2023, 16:46 · Affects-FreeBSD, Differential

Apr 14 2023

valerio.bozzolan updated the task description for T15250: Raw use of "git diff" provides insufficient Diff Context.
Apr 14 2023, 14:13 · Affects-FreeBSD, Differential
ton added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

@valerio.bozzolan yes, https://gitpull.it/D110 demonstrates the point I was trying to communicate. No buttons available to expand the context.

Apr 14 2023, 14:11 · Affects-FreeBSD, Differential
meena added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

So if I understand correctly:

  1. most FreeBSD users share a Diff but is usually just a git patch
    • → first problem: Phorge was intended to use arc diff for best experience, so that to create a git patch, create the Diff, and assign that Diff to the right Repository, run Lint, and run Unit tests
    • → but sharing a raw git patch is really OK and reasonable, I understand that Arcanist is a pain for new users, but:
Apr 14 2023, 11:58 · Affects-FreeBSD, Differential
valerio.bozzolan triaged T15252: Using a raw git diff asks for repository, then loses it as Normal priority.
Apr 14 2023, 09:13 · UX, Differential
avivey added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
In T15249#6218, @ton wrote:

I don't mind if someone points me at the right place in code so I can try my luck with writing PHP.

Apr 14 2023, 08:59 · Affects-FreeBSD, Differential
valerio.bozzolan added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

By the way, it seems to me that the reporter is saying that these buttons are sometime not available (when the user does not use Arcanist):

Apr 14 2023, 08:43 · Affects-FreeBSD, Differential
avivey added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

As an alternative to using the "upload raw diff" option, see also https://secure.phabricator.com/T5000, and in specific the "magic ref" stuff in T15096#2329 and https://secure.phabricator.com/D9599.

Apr 14 2023, 08:39 · Affects-FreeBSD, Differential
valerio.bozzolan added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

Feel free to say to me that I probably didn't understand shit as usual :D

Apr 14 2023, 08:29 · Affects-FreeBSD, Differential
valerio.bozzolan renamed T15250: Raw use of "git diff" provides insufficient Diff Context from Insufficient Diff Context to Raw use of "git diff" provides insufficient Diff Context.
Apr 14 2023, 08:25 · Affects-FreeBSD, Differential
valerio.bozzolan added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

So if I understand correctly:

Apr 14 2023, 08:17 · Affects-FreeBSD, Differential
meena added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

what's frustrating here is the fact that Phorge has the source code, so it should know the context.
But by not providing the context itself, it can also not know when a Diff has diverged and can no longer be landed without (manual) intervention.

Apr 14 2023, 07:57 · Affects-FreeBSD, Differential
valerio.bozzolan added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

By the way it seems that - for any frontend string - your local Administrators can override a message from the Phorge/Phabricator Config page.

Apr 14 2023, 06:39 · Affects-FreeBSD, Differential
valerio.bozzolan added a comment to T15250: Raw use of "git diff" provides insufficient Diff Context.

Hi, thanks for this interesting question.

Apr 14 2023, 06:22 · Affects-FreeBSD, Differential
ton created T15250: Raw use of "git diff" provides insufficient Diff Context.
Apr 14 2023, 03:15 · Affects-FreeBSD, Differential

Apr 13 2023

ton renamed T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends from Genrate `From:`, `Subject:` and `Date` fields in download raw .diff URL to Generate [From, Subject, Date] fields in download raw .diff URL.
Apr 13 2023, 23:32 · Affects-FreeBSD, Differential
ton updated subscribers of T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
Apr 13 2023, 23:31 · Affects-FreeBSD, Differential
ton added a comment to T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.

I don't mind if someone points me at the right place in code so I can try my luck with writing PHP.

Apr 13 2023, 23:29 · Affects-FreeBSD, Differential
ton created T15249: Generate [From, Subject, Date] fields in download raw .diff URL to support "git am" and friends.
Apr 13 2023, 23:23 · Affects-FreeBSD, Differential
ton closed Q47: Genrate `From:`, `Subject:` and `Date` fields in download raw .diff URL as invalid.
Apr 13 2023, 23:21 · Differential
ton asked Q47: Genrate `From:`, `Subject:` and `Date` fields in download raw .diff URL.
Apr 13 2023, 23:20 · Differential

Apr 6 2023

avivey edited projects for T15128: Allow users to change the default edit policy of revisions, added: Policy; removed Policy (archived).
Apr 6 2023, 11:11 · Policy, Differential, User-Cigaryno
avivey edited projects for T15131: Add Workboards support for Differential, added: Differential; removed Differential (archived).
Apr 6 2023, 10:44 · Clarification Needed, Differential, Workboard, User-Cigaryno
avivey edited projects for T15170: Allow to edit Differential "inline comments", added: Differential; removed Differential (archived).
Apr 6 2023, 10:44 · Differential, User-valerio.bozzolan
avivey edited projects for T15128: Allow users to change the default edit policy of revisions, added: Differential; removed Differential (archived).
Apr 6 2023, 10:44 · Policy, Differential, User-Cigaryno
avivey edited projects for T15039: Add a button to copy key information, added: Differential; removed Differential (archived).
Apr 6 2023, 10:44 · Differential
avivey edited projects for T15133: Differential List View should show Repository, added: Differential; removed Differential (archived).
Apr 6 2023, 10:44 · Differential
avivey created Differential.
Apr 6 2023, 10:43