Page MenuHomePhabricator
Feed All Stories

Mar 26 2020

ccappstest updated ccappstest.
Mar 26 2020, 4:24 AM

Mar 25 2020

ptarjan committed rARC33b9728b5f65: Run ls-files from the root of the directory (authored by ptarjan).
Run ls-files from the root of the directory
Mar 25 2020, 9:24 PM
ptarjan closed D21045: Run ls-files from the root of the directory.
Mar 25 2020, 9:24 PM
epriestley accepted D21045: Run ls-files from the root of the directory.

Thanks!

Mar 25 2020, 9:13 PM
ptarjan updated the summary of D21045: Run ls-files from the root of the directory.
Mar 25 2020, 9:13 PM
ptarjan updated the summary of D21045: Run ls-files from the root of the directory.
Mar 25 2020, 9:13 PM
ptarjan updated the summary of D21045: Run ls-files from the root of the directory.
Mar 25 2020, 9:12 PM
ptarjan updated the diff for D21045: Run ls-files from the root of the directory.

use repository api

Mar 25 2020, 9:06 PM
epriestley added a comment to D21045: Run ls-files from the root of the directory.

If that doesn't immediately work, yell at me and I can grab this and figure out what's up.

Mar 25 2020, 8:51 PM
epriestley added a comment to D21045: Run ls-files from the root of the directory.

(Actual change makes perfect sense.)

Mar 25 2020, 8:50 PM
epriestley requested changes to D21045: Run ls-files from the root of the directory.

Try something like this:

Mar 25 2020, 8:49 PM
ptarjan requested review of D21045: Run ls-files from the root of the directory.
Mar 25 2020, 8:45 PM

Mar 22 2020

epriestley lowered the priority of T13499: Make "undefined index" PHP errors throw a RuntimeException from Normal to Wishlist.

D21044 may resolve this alone, but I suspect there will be at least a little bit of followup work so I'm going to leave this open for the moment.

Mar 22 2020, 7:43 PM · Infrastructure
epriestley committed rARC4c12c3119b7a: Treat all PHP language-level errors as exceptions by default (authored by epriestley).
Treat all PHP language-level errors as exceptions by default
Mar 22 2020, 7:41 PM
epriestley closed D21044: Treat all PHP language-level errors as exceptions by default.
Mar 22 2020, 7:41 PM

Mar 20 2020

epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

(Also, hello after all this time! Hope you're all doing well over at phacility.)

Mar 20 2020, 7:46 PM
epriestley updated the diff for D21044: Treat all PHP language-level errors as exceptions by default.
  • For completeness, explicitly handle "Undefined offset" (raised for undefined numeric offsets) in addition to "Undefined index" (raised for undefined string indexes).
Mar 20 2020, 7:40 PM
epriestley requested review of D21044: Treat all PHP language-level errors as exceptions by default.
Mar 20 2020, 7:38 PM
epriestley added a revision to T13499: Make "undefined index" PHP errors throw a RuntimeException: D21044: Treat all PHP language-level errors as exceptions by default.
Mar 20 2020, 7:38 PM · Infrastructure
epriestley committed rARC18799c182921: Switch file uploader in "arc diff" to use ConduitEngine (authored by epriestley).
Switch file uploader in "arc diff" to use ConduitEngine
Mar 20 2020, 7:19 PM
epriestley closed T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files as Resolved by committing rARC18799c182921: Switch file uploader in "arc diff" to use ConduitEngine.
Mar 20 2020, 7:19 PM · Arcanist
epriestley closed D21043: Switch file uploader in "arc diff" to use ConduitEngine.
Mar 20 2020, 7:19 PM
epriestley requested review of D21043: Switch file uploader in "arc diff" to use ConduitEngine.
Mar 20 2020, 7:19 PM
epriestley added a revision to T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files : D21043: Switch file uploader in "arc diff" to use ConduitEngine.
Mar 20 2020, 7:18 PM · Arcanist
epriestley triaged T13503: Index Paste documents in Ferret as Low priority.
Mar 20 2020, 7:12 PM · Search, Paste
epriestley triaged T13502: Guidance on installing Excel export support requires clicking a button labeled "Download Data" as Low priority.
Mar 20 2020, 7:06 PM · Data Exporters
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

For my own internal reference, PHI1234 has related discussion.

Mar 20 2020, 7:02 PM
ptarjan committed rARC97e050fce7a5: Use a named remote and branches for staging to help git-lfs (authored by ptarjan).
Use a named remote and branches for staging to help git-lfs
Mar 20 2020, 6:57 PM
ptarjan closed D21041: Use a named remote and branches for staging to help git-lfs.
Mar 20 2020, 6:57 PM
epriestley accepted D21041: Use a named remote and branches for staging to help git-lfs.

Thanks! I added you to Blessed Committers, so you should be able to land this. See that project description for help if you run into issues, or you can likely use "Land Revision" from the web UI here, or I can land it for you if all of that is more trouble than it's worth.

Mar 20 2020, 6:47 PM
epriestley added a member for Blessed Committers: ptarjan.
Mar 20 2020, 6:45 PM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.
  • code review
Mar 20 2020, 6:44 PM
epriestley added inline comments to D21041: Use a named remote and branches for staging to help git-lfs.
Mar 20 2020, 4:25 PM
ptarjan added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Thanks for the code review and archeology! I did some archeology on our end and indeed, it was removed on Sep 26, 2018 when we forked this diff workflow for exactly the reason in this diff. With the --no-verify the LFS objects were not being pushed to our staging repo, so our Jenkins jobs wouldn't have them and would fail. So I do think this the right fix :)

Mar 20 2020, 3:56 PM
avivey edited the content of Community Resources.
Mar 20 2020, 3:12 PM
epriestley added inline comments to D21041: Use a named remote and branches for staging to help git-lfs.
Mar 20 2020, 1:10 AM
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Hmm, I can't immediately find any upstream version of arc that has ever not had --no-verify: D13020 in 2015 had it, and it was version-checked but retained in D14033 (also in 2015) and seems untouched since then. If you're working with a fork, maybe blame/log to figure out why it was removed?

Mar 20 2020, 1:07 AM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.
  • oops wrong way
Mar 20 2020, 1:01 AM
epriestley added inline comments to D21041: Use a named remote and branches for staging to help git-lfs.
Mar 20 2020, 1:00 AM
ptarjan added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Nice find! I see there is already a --no-verify in this upstream version but we didn't have it in ours... maybe because of the lfs version? So maybe this diff is actually improving the life of lfs folks?

Mar 20 2020, 1:00 AM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.
  • go with --no-verify
Mar 20 2020, 12:59 AM
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Instead of GIT_LFS_SKIP_SMUDGE=1, try git push --no-verify -- <remote-uri> ...? That just skips the pre-push hook, which seems to work locally:

Mar 20 2020, 12:48 AM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.
  • Revert "only run fetch if git for-each-ref is empty"
  • Revert "fix spelling"
  • Revert "handle the case where you need to remove it before adding it"
  • Revert "Use a named remote and branches for staging to help git-lfs"
  • try the double push thing for lfs repos
Mar 20 2020, 12:42 AM
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

As much as possible I'd like arc to have the property that interrupting/killing/aborting/striking-it-with-lightning at any point during execution leaves you in the least-surprising state we can leave you in, and "arc uninstalled LFS as a side effect" seems highly-surprising, so I'm hesitant to go down that path. Let me take a quick look and see if I can find some other way to trick LFS here -- maybe there's a clever --config flag or something like that.

Mar 20 2020, 12:40 AM
ptarjan added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Thanks Evan! I tried what you suggested but I think GIT_LFS_SKIP_SMUDGE=1 is only for pulling not pushing, since the first push in your suggestion is still uploading to LFS and their code doesn't seem to refer to that env var https://github.com/git-lfs/git-lfs/blob/5f969e6a3e48ecee48b6235adccc42a644e82101/commands/command_push.go, I can't really see any way to disable lfs other than git lfs uninstall; git push; git lfs install. Is that nuts?

Mar 20 2020, 12:28 AM

Mar 19 2020

epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

That is, the sequence would look something like this, if the description above was muddy:

Mar 19 2020, 11:30 PM
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Part of this change -- pushing to a branch rather than a tag -- breaks a million things and can't come upstream without significant changes elsewhere.

Mar 19 2020, 11:24 PM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.
  • only run fetch if git for-each-ref is empty
Mar 19 2020, 9:59 PM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.
  • fix spelling
Mar 19 2020, 6:41 PM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.
  • handle the case where you need to remove it before adding it
Mar 19 2020, 6:38 PM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.

try again with the remote removed from the failure before

Mar 19 2020, 6:33 PM
ptarjan updated the diff for D21041: Use a named remote and branches for staging to help git-lfs.

try again now that I put in my ssh key

Mar 19 2020, 6:33 PM
ptarjan requested review of D21041: Use a named remote and branches for staging to help git-lfs.
Mar 19 2020, 6:29 PM

Mar 18 2020

epriestley added a comment to T13243: Writing to streams can run into issues with EINTR.

It's true that it has been 12 years, but I'm sure fwrite() will start returning an error code when it encounters a permanent, fatal EPIPE error condition soon.

Mar 18 2020, 10:10 PM · Infrastructure

Mar 11 2020

epriestley closed T7697: Drag and drop a text fragment to top-right search box adds it to the placeholder as Resolved.
Mar 11 2020, 3:38 PM · Firefox
dereckson added a comment to T7697: Drag and drop a text fragment to top-right search box adds it to the placeholder.

The issue doesn't appear in the current code base with Firefox 73. That's not unexpected, as the UI has been tweaked several times between 2015 and now.

Mar 11 2020, 12:58 PM · Firefox

Mar 9 2020

Arturas Moskvinas arturas@uber.com <arturas@uber.com> committed rP62f5bdbbd2c5: According to Jira Project keys must start with an uppercase letter, followed by… (authored by Arturas Moskvinas arturas@uber.com <arturas@uber.com>).
According to Jira Project keys must start with an uppercase letter, followed by…
Mar 9 2020, 8:04 PM
Arturas Moskvinas arturas@uber.com <arturas@uber.com> closed D21040: According to Jira Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters.
Mar 9 2020, 8:04 PM
epriestley added a comment to T13501: Improve search index normalization of "é" and other characters with variants or multiple representations.

We also have two separate pieces of ngram extraction code:

Mar 9 2020, 5:43 PM · Search
epriestley added a comment to T13501: Improve search index normalization of "é" and other characters with variants or multiple representations.

For now, I'm going to change the ngram slicing to be character-oriented. This should never be worse than the current behavior, and moves us closer to effective normalization.

Mar 9 2020, 5:38 PM · Search
epriestley added a comment to T13501: Improve search index normalization of "é" and other characters with variants or multiple representations.

This appears to be the unicode normalization chart:

Mar 9 2020, 5:27 PM · Search
epriestley triaged T13501: Improve search index normalization of "é" and other characters with variants or multiple representations as Low priority.
Mar 9 2020, 5:16 PM · Search
epriestley accepted D21040: According to Jira Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters.
Mar 9 2020, 2:55 PM
artms updated the diff for D21040: According to Jira Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters.
  • Fix pattern
Mar 9 2020, 2:37 PM
artms requested review of D21040: According to Jira Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters.
Mar 9 2020, 1:26 PM

Mar 6 2020

epriestley added a subtask for T7339: Raise a setup warning when the "en_US.UTF-8" locale is unavailable: T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23".
Mar 6 2020, 5:53 PM · Diffusion (v3)
epriestley added a parent task for T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23": T7339: Raise a setup warning when the "en_US.UTF-8" locale is unavailable.
Mar 6 2020, 5:53 PM · Arcanist
epriestley triaged T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23" as Normal priority.
Mar 6 2020, 5:46 PM · Arcanist
epriestley triaged T13499: Make "undefined index" PHP errors throw a RuntimeException as Normal priority.
Mar 6 2020, 5:22 PM · Infrastructure
epriestley committed rARC66a6128239e2: Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule (authored by epriestley).
Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule
Mar 6 2020, 5:14 PM
epriestley closed D21032: Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule.
Mar 6 2020, 5:14 PM
epriestley triaged T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files as Normal priority.
Mar 6 2020, 5:10 PM · Arcanist
epriestley closed T13497: Arc may fail on startup with a error about missing "default" config, a subtask of T13490: Upgrade all "classic" Arcanist workflows to Toolsets, as Resolved.
Mar 6 2020, 4:33 PM · Arcanist
epriestley closed T13497: Arc may fail on startup with a error about missing "default" config as Resolved.
Mar 6 2020, 4:33 PM · Arcanist
epriestley added a comment to T13497: Arc may fail on startup with a error about missing "default" config.

If you're affected by this and arc upgrade doesn't work, the easiest fix is to run git pull in arcanist/.

Mar 6 2020, 4:33 PM · Arcanist
epriestley committed rARC31653f6b7749: Fix an issue where "arc" may fail on startup when trying to read older… (authored by epriestley).
Fix an issue where "arc" may fail on startup when trying to read older…
Mar 6 2020, 4:31 PM
epriestley closed D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config.
Mar 6 2020, 4:31 PM
epriestley added a revision to T13497: Arc may fail on startup with a error about missing "default" config: D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config.
Mar 6 2020, 4:31 PM · Arcanist
epriestley added a task to D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config: T13497: Arc may fail on startup with a error about missing "default" config.
Mar 6 2020, 4:31 PM
epriestley added a parent task for T13497: Arc may fail on startup with a error about missing "default" config: T13490: Upgrade all "classic" Arcanist workflows to Toolsets.
Mar 6 2020, 4:30 PM · Arcanist
epriestley added a subtask for T13490: Upgrade all "classic" Arcanist workflows to Toolsets: T13497: Arc may fail on startup with a error about missing "default" config.
Mar 6 2020, 4:30 PM · Arcanist
epriestley triaged T13497: Arc may fail on startup with a error about missing "default" config as Normal priority.
Mar 6 2020, 4:30 PM · Arcanist
epriestley requested review of D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config.
Mar 6 2020, 3:23 PM

Mar 2 2020

epriestley renamed T13496: Print the object destruction log to stdout/stderr when run interactively via `bin/remove destroy` from Print the objet destruction log to stdout/stderr when run interactively via `bin/remove destroy` to Print the object destruction log to stdout/stderr when run interactively via `bin/remove destroy`.
Mar 2 2020, 5:39 PM · Infrastructure
epriestley triaged T13496: Print the object destruction log to stdout/stderr when run interactively via `bin/remove destroy` as Wishlist priority.
Mar 2 2020, 5:18 PM · Infrastructure
epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

Does using --max-pack-size to reduce the maximum packfile size really let Git "checkpoint" after each packfile, so the process is effectively resumable?

Mar 2 2020, 4:36 PM · Phacility, Diffusion
epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

PHI1655 identifies a specific case where enormous packfiles may create problems:

Mar 2 2020, 3:56 PM · Phacility, Diffusion
epriestley updated the task description for T13156: Plans: Improve Phacility UI for managing instance managers and cards.
Mar 2 2020, 2:30 PM · Plans, Phacility

Feb 28 2020

epriestley added a comment to T11968: Decide the fate of FutureGraph.

I have some code which runs and looks plausible (i.e., not covered in piles of callback garbage), at least:

Feb 28 2020, 4:58 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a comment to T7339: Raise a setup warning when the "en_US.UTF-8" locale is unavailable.

See https://discourse.phabricator-community.org/t/data-truncated-when-pushing-into-repository/3586/ for what is likely to be a related issue.

Feb 28 2020, 2:54 PM · Diffusion (v3)
epriestley added a comment to T5816: Unhandled Exception ("AphrontQueryException").

The real root cause of this issue may have been a locale setting which uses comma as a decimal separator, see T7339.

Feb 28 2020, 2:51 PM · Aphront, Maniphest
kerberizer added a comment to T4444: "NOT" filter for all applicable lines in a Query.

@epriestley As perhaps an example of another use case, in my workplace we needed, amongst others, the following lists of Maniphest tasks:

  1. assigned to the viewer, regardless of the author,
  2. authored by the viewer, without self-assigned,
  3. subscribed by the viewer, without (1) and (2).

(1) is obviously trivial (there's already a built-in query), but the other two seemed to require custom "NOT" filtering. Of course, (2) can be solved to an extent by using "Group by assigned", but it's not very convenient. Because I tend to self-assign most of the tasks that I create, the ones that I have assigned to other people quickly get visually overwhelmed by the large group of "Assigned to kerberizer" (not to mention that with my username this huge group tends to get in the middle of the list).

Feb 28 2020, 9:51 AM · Maniphest, Custom Fields, Projects

Feb 27 2020

epriestley added a comment to T11968: Decide the fate of FutureGraph.

Here's an actual example of loadHardpoints($objects, $hardpoint):

Feb 27 2020, 5:21 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
jaydiablo added a comment to T12976: Use a server for pygments?.

Perhaps another approach that could be considered, doing the colorizing in the browser using something like highlight.js (https://highlightjs.org/). This, of course, puts the CPU burden on the end user instead of the server.

Feb 27 2020, 4:47 PM · Differential
epriestley added a comment to T11968: Decide the fate of FutureGraph.

In the specific case of the Hardpoints, we currently often have code which loads objects but doesn't do anything with them. For example, most Query classes use didFilterResults() to fill things-that-sure-look-like-hardpoints, but few do anything with the results.

Feb 27 2020, 3:30 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley closed T13177: ServiceProfiler integration should be a configurable part of Future, not hard-coded into subclasses (HTTPSFuture, ExecFuture) as Resolved.

I'm going to mark this as resolved, since:

Feb 27 2020, 3:06 PM · Infrastructure
epriestley requested review of D21038: Integrate "ServiceProfiler" into the base "Future".
Feb 27 2020, 2:53 PM
epriestley added a revision to T11968: Decide the fate of FutureGraph: D21038: Integrate "ServiceProfiler" into the base "Future".
Feb 27 2020, 2:53 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a revision to T13177: ServiceProfiler integration should be a configurable part of Future, not hard-coded into subclasses (HTTPSFuture, ExecFuture): D21038: Integrate "ServiceProfiler" into the base "Future".
Feb 27 2020, 2:53 PM · Infrastructure
epriestley updated the diff for D21036: Make "FutureIterator" queue management more formal.
  • Fix a unit test issue where a future was explicitly started before being added to an Iterator.
Feb 27 2020, 2:50 PM