Page MenuHomePhabricator
Feed Advanced Search

Jul 11 2021

epriestley added a comment to T13652: Notes on Ardunio CNC drivers.

im a wizard

Jul 11 2021, 11:23 PM
epriestley added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

If I want to go spelunking later to see about improving/adding this behavior is this the right place to do this or is there another place this TODO should go?

Jul 11 2021, 11:18 PM
epriestley accepted D21680: An assortment of fixes and updates to using arc-land with mercurial.

If there was a way to run the rebase --abort and discard the result of that it would probably be best.

Jul 11 2021, 7:17 PM
epriestley added a comment to T12071: Require "E" be defined in variables_order so $_ENV is correctly populated.

I think not all versions of Windows + PHP require adjusting php.ini, but some nontrivial subset do -- enough that arc itself emits some flavor of guidance on this:

Jul 11 2021, 6:17 PM · Infrastructure
epriestley closed T11371: Restore PHP to Glory as Wontfix.

This is no longer my fight.

Jul 11 2021, 6:03 PM · Public & Media Relations

Jul 10 2021

epriestley added inline comments to D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 3:24 PM

Jul 9 2021

epriestley closed T13656: Automate the Phacility export process, as a support action as Resolved.

For now, this has been working fine as a simple CLI flow.

Jul 9 2021, 4:39 PM · Phacility
epriestley closed T13657: Allow "watcher" packages to have dominion without permitting owners to force accept as Resolved.
Jul 9 2021, 4:38 PM · Owners
epriestley accepted D21679: Update templates used with mercurial to remove '--debug'.

When using --template I think I was not properly escaping quotes for how they are eventually invoked when launching the process

Jul 9 2021, 4:27 PM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Ah, yes; DiffusionBlameQuery has a cache.

Jul 9 2021, 3:28 PM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

is there an easy way to log the command that will run from the CommandFuture?

Jul 9 2021, 3:43 AM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

%C ("raw, unescaped comment")

Jul 9 2021, 1:32 AM
epriestley added a comment to D21681: Update templates used with mercurial to remove '--debug'.

😎

Jul 9 2021, 1:19 AM

Jul 8 2021

epriestley added a comment to T13658: How to rebrand Phabricator.

Ah okay, I'll do some other testing. I was also wondering if there would be cases in Phabricator where something is doing something like if (get_class($a) == 'PhabricatorEnv') {... which if so I'm guessing would cause failures.

Jul 8 2021, 10:48 PM
epriestley added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

"Cascading" is updating all local refs which depend on refs that were selected-and-modified by the land operation. So if you have dependent features in several dependent branches named change1 -> change2 -> change3 locally, and arc land change2, we want to (in the general case) rebase your local change3 onto the landed version of change2 so that it no longer has out-of-date ancestors.

Jul 8 2021, 8:25 PM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

This specific issue is probably the relevant one, the other thing linked from there looks like it's just a --debug problem, which this patch should fix.

Jul 8 2021, 7:08 PM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Requiring very recent Mercurial may also run into issues described here:

Jul 8 2021, 7:07 PM
epriestley added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

reconcileLocalState() is another possible place to put the post-push update logic -- that runs exactly once, and a little later.

Jul 8 2021, 7:01 PM
epriestley added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

A possible approach would be to try to put the "failure" commands into ArcanistMercurialLocalState. I think that would look like snapshotting every bookmark (not just the active one), and then resetting all bookmarks when restoring state. I'm not really sure if this would be better -- your approach seems fairly reasonable to me, and has the advantage of doing all the bookmark management pretty narrowly in one place, and this should be the only place that this work needs to happen. Offhand, I think I favor the approach you've taken here.

Jul 8 2021, 7:00 PM
epriestley added a comment to T13658: How to rebrand Phabricator.

One other case where "Phabricator" appears is in HTTP and Email headers, e.g. X-Phabricator-XYZ. For a separate project wanting to update these I think a slow migration approach is needed, to allow recipients currently expecting the existing fields. I'm guessing there isn't a reasonable change here for the upstream.

Jul 8 2021, 6:36 PM
epriestley requested changes to D21679: Update templates used with mercurial to remove '--debug'.

Ah, I didn't realize annotate --template arrived so recently. Phacility production has Mercurial 2.8.2 and I can't easily fix that at the moment, so I don't want to bring version bump all the way to 4.6 upstream today. I'm okay with the jump to 2.4 upstream, and also okay with leaving annotate --debug without filtering upstream (since no one has complained in all this time, and not addressing it doesn't make things worse). So I'd propose:

Jul 8 2021, 6:14 PM
epriestley accepted D21681: Update templates used with mercurial to remove '--debug'.
Jul 8 2021, 5:46 PM
epriestley closed D21678: Remove some "Phacility" and "epriestley" references.
Jul 8 2021, 5:46 PM
epriestley committed rP5521f76fe406: Remove some "Phacility" and "epriestley" references (authored by epriestley).
Remove some "Phacility" and "epriestley" references
Jul 8 2021, 5:46 PM

Jul 7 2021

epriestley added a comment to T13652: Notes on Ardunio CNC drivers.

I should probably just set up a blog or something since I don't expect to bring any microcontroller components upstream, but until then:

Jul 7 2021, 6:03 PM

Jul 6 2021

epriestley added a comment to D21677: Updating the filtering of Mercurial debug output.

(DiffusionLowLevelMercurialPathsQuery has an example of using PhutilBinaryAnalyzer to do a Mercurial capability test.)

Jul 6 2021, 10:17 PM
epriestley added a comment to D21677: Updating the filtering of Mercurial debug output.

On navigating the version stuff, I think the pathway would be:

Jul 6 2021, 10:17 PM
epriestley added a comment to D21677: Updating the filtering of Mercurial debug output.

Keep the protocol/domain on one line and the path on another (in this case path is <80 chars)?

Jul 6 2021, 10:13 PM
epriestley accepted D21677: Updating the filtering of Mercurial debug output.
Jul 6 2021, 7:09 PM

Jun 30 2021

epriestley added a comment to T13658: How to rebrand Phabricator.

Proof-of-concept only for class_alias():

Jun 30 2021, 10:39 PM
epriestley requested review of D21678: Remove some "Phacility" and "epriestley" references.
Jun 30 2021, 10:32 PM
epriestley added a revision to T13658: How to rebrand Phabricator: D21678: Remove some "Phacility" and "epriestley" references.
Jun 30 2021, 10:31 PM
epriestley added a comment to T13658: How to rebrand Phabricator.

This is a bit out there, but: PHP once had something called classkit and later runkit, which perhaps exists as runkit7 now, that let you dynamically rename classes at runtime. In theory, you could use this as a compatibility layer to support mass renaming of classes: if code asks for PhabricatorXYZ, look for GenericXYZ (or XYZ, or consult a mapping), then make a runtime copy of the class. This narrow capability may be in PHP's core as class_alias(), now.

Jun 30 2021, 10:13 PM
epriestley added a comment to T13658: How to rebrand Phabricator.

Create Platform::getProjectRepo() to return "phabricator", or instead detect the repository name.

Jun 30 2021, 10:07 PM

Jun 28 2021

epriestley accepted D21676: Force all mercurial commands to use UTF-8 encoding.

The results in T13649 -- where none of these results actually print a character that anyone would consider to be a "smart quote" (?) -- aren't exactly inspiring, but I think this is a step forward at least.

Jun 28 2021, 1:17 AM

Jun 27 2021

epriestley added a comment to T13649: Address higher-impact `arc` toolsets behaviors.

I think the global flag is reasonable.

Jun 27 2021, 11:05 PM · Arcanist
epriestley added a comment to D21675: Update a few random typos.

Oops -- I assumed you were already in Blessed Committers. I added you, you should be able to either arc land or "Land Revision" now (if arc diff uploaded to staging properly). See that project description for some details, or yell if you're still having issues.

Jun 27 2021, 9:34 PM
epriestley added a member for Blessed Committers: cspeckmim.
Jun 27 2021, 9:33 PM
epriestley added a comment to D21675: Update a few random typos.

Oh, just for completeness -- you can trigger the first message by visiting this URI while logged out (e.g., in an incognito window):

Jun 27 2021, 8:40 PM
epriestley accepted D21675: Update a few random typos.
Jun 27 2021, 8:37 PM

Jun 25 2021

epriestley edited the content of Changelog.
Jun 25 2021, 9:34 PM
epriestley created an object: 2021 Week 26 (Late June).
Jun 25 2021, 9:32 PM
epriestley committed rP193798385bd3: (stable) Promote 2021 Week 26 (authored by epriestley).
(stable) Promote 2021 Week 26
Jun 25 2021, 9:32 PM
epriestley closed D21674: Add an "Authority" control to Packages to support "Watcher" packages.
Jun 25 2021, 8:48 PM
epriestley committed rPa641ec82a323: Add an "Authority" control to Packages to support "Watcher" packages (authored by epriestley).
Add an "Authority" control to Packages to support "Watcher" packages
Jun 25 2021, 8:48 PM
epriestley committed rPbf889c1c083e: Correct a mistaken path in the "Advanced Configuration" documentation (authored by epriestley).
Correct a mistaken path in the "Advanced Configuration" documentation
Jun 25 2021, 8:48 PM
epriestley closed D21663: Correct a mistaken path in the "Advanced Configuration" documentation.
Jun 25 2021, 8:48 PM
epriestley updated the diff for D21674: Add an "Authority" control to Packages to support "Watcher" packages.
  • Allow "owners.search" API to read this setting.
Jun 25 2021, 5:00 PM
epriestley requested review of D21674: Add an "Authority" control to Packages to support "Watcher" packages.
Jun 25 2021, 4:31 PM
epriestley triaged T13657: Allow "watcher" packages to have dominion without permitting owners to force accept as Normal priority.
Jun 25 2021, 3:32 PM · Owners

Jun 24 2021

epriestley added a comment to D21673: Saturate day of month in datepicker.

I added you to Blessed Committers, so you should be able to land this yourself. See that project description for guidance, or let me know if you run into issues.

Jun 24 2021, 5:49 PM
epriestley added a member for Blessed Committers: 0.
Jun 24 2021, 5:49 PM
epriestley accepted D21673: Saturate day of month in datepicker.

(That was really me.)

Jun 24 2021, 5:40 PM

Jun 17 2021

holmboe awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 17 2021, 2:40 PM · Phacility

Jun 9 2021

dtf awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 9 2021, 9:06 AM · Phacility

Jun 8 2021

Bezalel awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 8 2021, 7:20 AM · Phacility

Jun 7 2021

tiguchi awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 7 2021, 3:25 PM · Phacility
krisbuist awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 7 2021, 6:54 AM · Phacility

Jun 5 2021

epriestley edited the content of Changelog.
Jun 5 2021, 6:45 PM
epriestley committed rARC4f70fcffa8a5: (stable) Promote 2021 Week 23 (authored by epriestley).
(stable) Promote 2021 Week 23
Jun 5 2021, 6:14 PM
epriestley committed rPcdae0ac68f1f: (stable) Promote 2021 Week 23 (authored by epriestley).
(stable) Promote 2021 Week 23
Jun 5 2021, 6:14 PM
epriestley created an object: 2021 Week 23 (Early June).
Jun 5 2021, 6:14 PM
Krinkle awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 5 2021, 3:32 PM · Phacility

Jun 2 2021

radiantws awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 2 2021, 8:23 PM · Phacility
seshness awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 2 2021, 4:16 PM · Phacility

Jun 1 2021

epriestley added a comment to T13656: Automate the Phacility export process, as a support action.

This is approximately working now, although the "button" is currently this mess:

Jun 1 2021, 7:34 PM · Phacility
epriestley closed T7148: Allow users to export their data from Phacility as Resolved.

See T13656 for followup.

Jun 1 2021, 7:32 PM · Phacility
epriestley closed T7148: Allow users to export their data from Phacility, a subtask of T7146: Improve administrative UI around backup management, as Resolved.
Jun 1 2021, 7:32 PM · Phacility
epriestley closed T7148: Allow users to export their data from Phacility, a subtask of T9303: Improve Phacility Onboarding/NUX, as Resolved.
Jun 1 2021, 7:32 PM · Phacility
epriestley added a revision to T13656: Automate the Phacility export process, as a support action: Unknown Object (Differential Revision).
Jun 1 2021, 7:09 PM · Phacility
epriestley added a comment to T13655: Provide a formal "destroyed" status for Phacility instances.

Instances technically have a formal "Deleted" status -- but it isn't really used by anything, nothing ever puts them into that status, and there are no instances in that status. For consistency with existing CLI workflows, I'm going to rename this to "Destroyed".

Jun 1 2021, 6:14 PM · Phacility
epriestley triaged T13656: Automate the Phacility export process, as a support action as Normal priority.
Jun 1 2021, 5:40 PM · Phacility
epriestley added a comment to T13655: Provide a formal "destroyed" status for Phacility instances.

A related issue is that I think nothing currently destroys S3 data. For most instances this isn't significant, but it isn't helping anything. This should likely be part of the database destruction step, although it can probably interact with the S3 bucket directly.

Jun 1 2021, 3:39 PM · Phacility
epriestley triaged T13655: Provide a formal "destroyed" status for Phacility instances as Normal priority.
Jun 1 2021, 3:37 PM · Phacility
epriestley committed rP51cb7a3db9e8: Provide an ad-hoc maintenance lock for clustered repositories (authored by epriestley).
Provide an ad-hoc maintenance lock for clustered repositories
Jun 1 2021, 3:30 PM
epriestley closed D21671: Provide an ad-hoc maintenance lock for clustered repositories.
Jun 1 2021, 3:30 PM
epriestley committed rPbdda7eed0734: Improve display behavior for write locks held by omnipotent users (authored by epriestley).
Improve display behavior for write locks held by omnipotent users
Jun 1 2021, 3:30 PM
epriestley committed rP12a5eb406233: Allow maintenance scripts to write synthetic events to the push log that act as… (authored by epriestley).
Allow maintenance scripts to write synthetic events to the push log that act as…
Jun 1 2021, 3:30 PM
epriestley closed D21669: Improve display behavior for write locks held by omnipotent users.
Jun 1 2021, 3:30 PM
epriestley closed D21670: Allow maintenance scripts to write synthetic events to the push log that act as repository updates.
Jun 1 2021, 3:30 PM
epriestley requested review of D21671: Provide an ad-hoc maintenance lock for clustered repositories.
Jun 1 2021, 3:18 PM
epriestley added a revision to T13614: Provide a write-free, non-locking maintenance window for repositories: D21671: Provide an ad-hoc maintenance lock for clustered repositories.
Jun 1 2021, 3:17 PM · Clusters, Diffusion
epriestley removed a watcher for Blessed Committers: sqlqq.
Jun 1 2021, 2:17 PM
epriestley removed a watcher for Blessed Committers: greedhector28.
Jun 1 2021, 2:17 PM
epriestley removed a watcher for Clusters: Losy.
Jun 1 2021, 1:59 PM
epriestley added a comment to T13614: Provide a write-free, non-locking maintenance window for repositories.

Since observed repositories version differently today, this strategy won't work -- but I can't come up with any valid reason to ever put a repository into a "write maintenance" mode anyway. I do imagine making observed repositories "replay" fetches into the push log (as though they were pushes) in the future, but that still won't make "write maintenance" on an observed repository meaningful, so it seems fine to just prevent putting non-hosted repositories into this mode.

Jun 1 2021, 1:58 PM · Clusters, Diffusion
epriestley requested review of D21670: Allow maintenance scripts to write synthetic events to the push log that act as repository updates.
Jun 1 2021, 1:51 PM
epriestley added a revision to T13614: Provide a write-free, non-locking maintenance window for repositories: D21670: Allow maintenance scripts to write synthetic events to the push log that act as repository updates.
Jun 1 2021, 1:50 PM · Clusters, Diffusion
cspeckmim awarded T13654: Wind Down Phacility Operations a Heartbreak token.
Jun 1 2021, 1:25 PM · Phacility
epriestley requested review of D21669: Improve display behavior for write locks held by omnipotent users.
Jun 1 2021, 1:14 PM
epriestley added a revision to T13614: Provide a write-free, non-locking maintenance window for repositories: D21669: Improve display behavior for write locks held by omnipotent users.
Jun 1 2021, 1:13 PM · Clusters, Diffusion
epriestley added a comment to T13614: Provide a write-free, non-locking maintenance window for repositories.

A minor issue on the way to this is that calling synchronizeWorkingCopyBeforeWrite() with an omnipotent viewer will write to the WorkingCopyVersion table with a null userPHID, which shows as "Unknown Object" in the UI.

Jun 1 2021, 1:08 PM · Clusters, Diffusion
epriestley added a comment to T13614: Provide a write-free, non-locking maintenance window for repositories.

A useful maintenance operation for staging area repositories is to remove out-of-date staging refs: old diffs which have already landed. This is of some particular importance for large installs, since Git has a significant per-ref overhead for many operations until protocol v2: by the time a repository has ~50K refs, interacting with it in basically any way has become slow and cumbersome.

Jun 1 2021, 12:41 PM · Clusters, Diffusion
epriestley committed rPa8f429cdbf4d: Correct an issue where "dashboard.panel.edit" fatals in the API console (authored by epriestley).
Correct an issue where "dashboard.panel.edit" fatals in the API console
Jun 1 2021, 6:49 AM
epriestley closed D21668: Correct an issue where "dashboard.panel.edit" fatals in the API console.
Jun 1 2021, 6:49 AM
epriestley added a comment to T13650: Unhandled Exception accessing Conduit's dashboard.panel.edit: "Attempting to use a panel in a way that requires an implementation, but the panel implementation ("") is unknown to Phabricator.".

D21668 should improve this behavior, although it's not an ideal or complete fix.

Jun 1 2021, 6:49 AM · Conduit
epriestley requested review of D21668: Correct an issue where "dashboard.panel.edit" fatals in the API console.
Jun 1 2021, 6:41 AM
epriestley added a revision to T13650: Unhandled Exception accessing Conduit's dashboard.panel.edit: "Attempting to use a panel in a way that requires an implementation, but the panel implementation ("") is unknown to Phabricator.": D21668: Correct an issue where "dashboard.panel.edit" fatals in the API console.
Jun 1 2021, 6:40 AM · Conduit
epriestley claimed T13650: Unhandled Exception accessing Conduit's dashboard.panel.edit: "Attempting to use a panel in a way that requires an implementation, but the panel implementation ("") is unknown to Phabricator.".
Jun 1 2021, 6:35 AM · Conduit
epriestley committed rARC246e604a070f: Correct an issue when winning "arc anoid" with certain terminal dimensions (authored by epriestley).
Correct an issue when winning "arc anoid" with certain terminal dimensions
Jun 1 2021, 6:10 AM