Page MenuHomePhabricator
Feed Advanced Search

Dec 13 2015

mrkanaly added a comment to T9973: `arc land` detached head state with `--hold`.

I am in the same boat as @hach-que right now. By destroying the original behavior, it really doesn't leave me any choices but to orphan everyone that I have trained to use arcanist on a very old version of the tool. I am 100% trusting of arcanist and its operations, but many people are afraid of tools like this. So they like options like --hold that allow them to inspect everything before they push it away. But now they would be instructed by the tool to run some funny command whose syntax they don't understand, and then also have to run

  • git checkout master
  • git pull

to get to where they wanted to be.

Dec 13 2015, 4:02 PM · Arcanist, Bug Report
hach-que created T9975: Working copy leases are randomly released when drawing on a non-instant host resource pool.
Dec 13 2015, 11:50 AM · Drydock, Bug Report
epriestley added a revision to T9973: `arc land` detached head state with `--hold`: Restricted Differential Revision.
Dec 13 2015, 11:10 AM · Arcanist, Bug Report
hach-que added a comment to T9973: `arc land` detached head state with `--hold`.

Actually it looks like msysgit finally released Git 2.x for Windows, which is supposed to have fixed the race condition that was present on Windows in Git (that was supposedly the cause of the issue). When I return I'll get everyone to update in the hope that fixes the issue.

Dec 13 2015, 10:42 AM · Arcanist, Bug Report
hach-que added a comment to T9973: `arc land` detached head state with `--hold`.

I believe this change will negatively affect the workflows we have at our workplace (when I return there I'll know for sure). Basically, we advise everyone to land with arc land --hold due to issues where interactions with msysGit and arc will cause commits to revert part of the branch (I can't find the task, it was filed ages and ages ago). So not being able to just check the landed commit to make sure it's okay and then hitting push will be a regression in the workflow that people are currently using...

Dec 13 2015, 10:39 AM · Arcanist, Bug Report
epriestley closed T9970: new files are empty for arc diff --create and --update as Resolved by committing Restricted Diffusion Commit.
Dec 13 2015, 10:35 AM · Subversion, Arcanist, Bug Report
dim added a revision to T9970: new files are empty for arc diff --create and --update : Restricted Differential Revision.
Dec 13 2015, 10:34 AM · Subversion, Arcanist, Bug Report
epriestley added a comment to T9970: new files are empty for arc diff --create and --update .

Thanks for digging into this! That explanation makes SVN's behavior a lot more reasonable.

Dec 13 2015, 10:27 AM · Subversion, Arcanist, Bug Report
epriestley added a revision to T9970: new files are empty for arc diff --create and --update : Restricted Differential Revision.
Dec 13 2015, 10:22 AM · Subversion, Arcanist, Bug Report
epriestley triaged T9973: `arc land` detached head state with `--hold` as Wishlist priority.
Dec 13 2015, 12:10 AM · Arcanist, Bug Report
epriestley reopened T9973: `arc land` detached head state with `--hold` as "Open".

Sure. The best "Next Step" is to just run arc land <branch> again without --hold, although we can be explicit about that and fill in branch in case it was run as plain arc land originally.

Dec 13 2015, 12:06 AM · Arcanist, Bug Report

Dec 12 2015

joshuaspence added a comment to T9973: `arc land` detached head state with `--hold`.

I've often told people that they can use arc land --hold to inspect the changes before they are pushed (mostly for people who were not completely trusting of arc land. Whilst this is still technically true, I suspect that many people would not know what git push origin HEAD:master does (I personally had never seen this command before this task). It might be useful to output some sort of "Next Step" text when using arc land --hold.

Dec 12 2015, 11:53 PM · Arcanist, Bug Report
joshuaspence updated the task description for T9973: `arc land` detached head state with `--hold`.
Dec 12 2015, 11:25 PM · Arcanist, Bug Report
joshuaspence renamed T9973: `arc land` detached head state with `--hold` from `arc lan`d detached head state with `--hold` to `arc land` detached head state with `--hold`.
Dec 12 2015, 11:24 PM · Arcanist, Bug Report
joshuaspence renamed T9973: `arc land` detached head state with `--hold` from arc land detached head state with --hold to `arc lan`d detached head state with `--hold`.
Dec 12 2015, 11:24 PM · Arcanist, Bug Report
• stevenh added a comment to T9970: new files are empty for arc diff --create and --update .

I also tested on latest arc version no change:
/data/arc/arcanist/bin/arc version
arcanist dae2f0073f019221839924b4b1431c6cba5dcdda (10 Dec 2015)
libphutil 230c3e161c9ad7ee920d003b53e7c4a473a46207 (7 Dec 2015)

Dec 12 2015, 7:13 PM · Subversion, Arcanist, Bug Report
dim added a comment to T9970: new files are empty for arc diff --create and --update .

Right, I think I have found the cause. The binary_safe_diff.sh does not preserve the exit code of diff, and it returns 0 even if diff returned 1. Apparently returning 0 causes Subversion 1.9 to emit the file headers again.

Dec 12 2015, 6:59 PM · Subversion, Arcanist, Bug Report
epriestley added a comment to T9972: Profile image from Google not being picked up.

The @local part is because I have cluster.instance configured locally, it's normal for it to not be present on regular installs.

Dec 12 2015, 6:46 PM · Auth, Bug Report
pritambaral added a comment to T9972: Profile image from Google not being picked up.

I haven't been able to trace the cause of the issue, but I do have something to add:

Dec 12 2015, 6:42 PM · Auth, Bug Report
epriestley added a comment to T9972: Profile image from Google not being picked up.

There shouldn't be any caches.

Dec 12 2015, 6:32 PM · Auth, Bug Report
epriestley closed T9973: `arc land` detached head state with `--hold` as Wontfix.
  • We can't give arc land the old behavior without breaking other (more common) use cases.
  • You can push directly from the detached head, per above.
  • arc help land is now more clear that merging takes place in a detached state and local branch references are not updated.
  • arc cleanup (T3277) may eventually make it easier to clean up these branches.
  • It sounds like the old workflow was still fairly labor intensive. Writing a script to help you manage submodules might simplify your workflow overall, as a possible workaround. This script could use slightly lower-level operations than arc land (like git operations and arc amend) to give you more control. arc land does not do anything magical, and is just intended as a convenience wrapper around merging in the most common cases.
Dec 12 2015, 6:30 PM · Arcanist, Bug Report
epriestley added a comment to T9970: new files are empty for arc diff --create and --update .

Yes, 6 months is a huge amount of time in the scale of arc, although that version is probably new enough to have D9921 (although I don't know if July 26 is the changes it actually includes, or just the date someone might have published some earlier version, and have no idea what _2 means).

Dec 12 2015, 5:44 PM · Subversion, Arcanist, Bug Report
epriestley added a revision to T9973: `arc land` detached head state with `--hold`: Restricted Differential Revision.
Dec 12 2015, 5:41 PM · Arcanist, Bug Report
epriestley added a comment to T9973: `arc land` detached head state with `--hold`.

The change is merged into the destination branch, but the branch reference is not updated to point to it. The detached HEAD you end up with is the correct state of a merge between the origin branch and the changes you are landing. The documentation could perhaps be more explicit about this.

Dec 12 2015, 5:32 PM · Arcanist, Bug Report
chad added a project to T9915: Audit Changes TOC fail redirecting to right subdirectory when clicking on fa-folder-open icon and produces an unhandled exception: Diffusion.
Dec 12 2015, 5:06 PM · Restricted Project, Diffusion, Bug Report
chad added projects to T9926: SVN Commit fails, hard to debug: Diffusion, Subversion.
Dec 12 2015, 5:06 PM · Bug Report (Needs Information), Subversion, Diffusion
chad added projects to T9970: new files are empty for arc diff --create and --update : Arcanist, Subversion.
Dec 12 2015, 5:04 PM · Subversion, Arcanist, Bug Report
pritambaral added a comment to T9972: Profile image from Google not being picked up.

I don't see any way in the code that it can possibly render src="PHID-FILE-...", am I misunderstanding?

Ah, please ignore my comment about the src, it was misinformed.

Dec 12 2015, 4:58 PM · Auth, Bug Report
mrkanaly added a comment to T9973: `arc land` detached head state with `--hold`.

Since the change is not merge onto to the destination branch

Dec 12 2015, 4:43 PM · Arcanist, Bug Report
mrkanaly added a comment to T9973: `arc land` detached head state with `--hold`.

Also, I noticed that the documentation for --hold is also out of date, in accordance with this bug report.

The change is merged into the target branch, following these rules:
Dec 12 2015, 4:42 PM · Arcanist, Bug Report
dim added a comment to T9970: new files are empty for arc diff --create and --update .

For me this gives:

Dec 12 2015, 4:39 PM · Subversion, Arcanist, Bug Report
epriestley added a comment to T9970: new files are empty for arc diff --create and --update .

T5555 and D9921 are earlier similar interactions, where file content could be doubled with newly added directories.

Dec 12 2015, 4:39 PM · Subversion, Arcanist, Bug Report
mrkanaly added a comment to T9973: `arc land` detached head state with `--hold`.

Well realistically, there more steps between the arc land --hold and git push

Dec 12 2015, 4:39 PM · Arcanist, Bug Report
epriestley added a comment to T9970: new files are empty for arc diff --create and --update .

Can you show me the output of arc version?

Dec 12 2015, 4:35 PM · Subversion, Arcanist, Bug Report
epriestley added a comment to T9972: Profile image from Google not being picked up.

I can't reproduce that. Here's what I did:

Dec 12 2015, 4:33 PM · Auth, Bug Report
dim added a comment to T9970: new files are empty for arc diff --create and --update .

Hmm, this seems to be caused by Subversion 1.9 (which is the default in the FreeBSD ports collection). If I use Subversion 1.8 to run the svn diff --depth empty --diff-cmd '/usr/local/lib/php/arcanist/scripts/repository/binary_safe_diff.sh' -x -U32767 foo.txt command, the output is:

Dec 12 2015, 4:29 PM · Subversion, Arcanist, Bug Report
epriestley reopened T9972: Profile image from Google not being picked up as "Open".
Dec 12 2015, 4:28 PM · Auth, Bug Report
pritambaral added a comment to T9972: Profile image from Google not being picked up.

Minor issue still present. On the "confirm registration" page, the image shown is still a blank one. (Inspecting the element in browser shows its src = PHID-FILE...)

Dec 12 2015, 4:27 PM · Auth, Bug Report
epriestley added a comment to T9973: `arc land` detached head state with `--hold`.

Why are you using --hold if your next steps are the steps that arc land would take anyway?

Dec 12 2015, 4:27 PM · Arcanist, Bug Report
mrkanaly added a comment to T9973: `arc land` detached head state with `--hold`.

Additionally, the hold now does not cleanup the feature branch either

Dec 12 2015, 4:26 PM · Arcanist, Bug Report
mrkanaly added a comment to T9973: `arc land` detached head state with `--hold`.

I expect it to do what it used to do previously, which would be finish with a merge onto the desired landing branch. Rather now, if I use this, I have to do an additional

  • git checkout master (remembering the commit I am leaving behind)
  • git merge eb35b52

Then end with
git push

Dec 12 2015, 4:25 PM · Arcanist, Bug Report
epriestley added a comment to T9973: `arc land` detached head state with `--hold`.

What do you expect it to do?

Dec 12 2015, 4:21 PM · Arcanist, Bug Report
pritambaral added a comment to T9972: Profile image from Google not being picked up.

Thanks for the exceptionally clear report

☺

Dec 12 2015, 4:17 PM · Auth, Bug Report
mrkanaly created T9973: `arc land` detached head state with `--hold`.
Dec 12 2015, 4:13 PM · Arcanist, Bug Report
epriestley added a comment to T9972: Profile image from Google not being picked up.

This should be fixed in HEAD. Thanks for the exceptionally clear report, and let us know if you run into anything else.

Dec 12 2015, 3:55 PM · Auth, Bug Report
epriestley added a comment to T9972: Profile image from Google not being picked up.

The UI instructions about navigating the dashboard are also a little out of date since that UI has changed, although I was still mostly able to figure out what they meant. I'll leave a note on T5591 to update them when that gets fixed.

Dec 12 2015, 3:53 PM · Auth, Bug Report
epriestley closed T9972: Profile image from Google not being picked up as Resolved by committing Restricted Diffusion Commit.
Dec 12 2015, 3:52 PM · Auth, Bug Report
epriestley claimed T9972: Profile image from Google not being picked up.
Dec 12 2015, 3:52 PM · Auth, Bug Report
epriestley added a revision to T9972: Profile image from Google not being picked up: Restricted Differential Revision.
Dec 12 2015, 3:52 PM · Auth, Bug Report
pritambaral added a comment to T9972: Profile image from Google not being picked up.

The Google+ API for a person, available for reference at https://developers.google.com/+/web/api/rest/latest/people#resource, does not agree with what libphutil's PhutilGoogleAuthAdapter.php does currently to extract a profile pic.

Dec 12 2015, 2:21 PM · Auth, Bug Report
pritambaral created T9972: Profile image from Google not being picked up.
Dec 12 2015, 2:14 PM · Auth, Bug Report
epriestley added a comment to T9970: new files are empty for arc diff --create and --update .

I added some properties:

Dec 12 2015, 12:15 PM · Subversion, Arcanist, Bug Report
dim updated subscribers of T9970: new files are empty for arc diff --create and --update .

Adding Eitan, since he's our Phabricator wrangler.

Dec 12 2015, 6:16 AM · Subversion, Arcanist, Bug Report
dim added a comment to T9970: new files are empty for arc diff --create and --update .

I think the problem is because of Subversion automatic properties. For the FreeBSD Subversion repository, automatic properties get added, like this:

Dec 12 2015, 6:13 AM · Subversion, Arcanist, Bug Report
avivey added a comment to T9956: Arcanist failed patch lint on windows (because "cp" does not exist).

Also, arc sometimes has issues with non-English locals - see T5554.

Dec 12 2015, 5:10 AM · Windows, Bug Report
avivey added a comment to T9956: Arcanist failed patch lint on windows (because "cp" does not exist).

phutil_is_windows()

Dec 12 2015, 5:09 AM · Windows, Bug Report
epriestley added a comment to T9970: new files are empty for arc diff --create and --update .

Yes, we can't help with this without better reproduction steps. In particular, I can't reproduce this. Here's what I did:

Dec 12 2015, 4:41 AM · Subversion, Arcanist, Bug Report
chad added a comment to T9970: new files are empty for arc diff --create and --update .

Please see Contributing Bug Reports. Specifically, concise steps to reproduce and version of Phabricator are needed.

Dec 12 2015, 4:30 AM · Subversion, Arcanist, Bug Report
• stevenh added a comment to T9970: new files are empty for arc diff --create and --update .

An example if this bug can be seen here: https://reviews.freebsd.org/differential/diff/11161/
The three added files should have contents.

Dec 12 2015, 3:26 AM · Subversion, Arcanist, Bug Report
• stevenh created T9970: new files are empty for arc diff --create and --update .
Dec 12 2015, 3:18 AM · Subversion, Arcanist, Bug Report
starruler added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

Ah that makes sense, when I load a page on my iPhone (iOS 9.1) it shows desktop site and flashes down to mobile. I guess the server thinks I'm a desktop. Note this happens even on an iPhone 4s simulator (the oldest version I can run).

Dec 12 2015, 2:36 AM · Safari, Differential, Bug Report
joshuaspence added a project to T9968: Phame can fatal if handed an older-style URI: Phame.
Dec 12 2015, 2:26 AM · Phame, Bug Report
chad added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

The 1-up renderer is server-side, it's not responsive CSS. Reload the page after you shrink.

Dec 12 2015, 2:20 AM · Safari, Differential, Bug Report
starruler added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

I was able to repro on Mac OS X with a recent version of chrome.

Dec 12 2015, 2:07 AM · Safari, Differential, Bug Report
chad added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

I'm on iOS 9.2

Dec 12 2015, 2:03 AM · Safari, Differential, Bug Report
chad added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

image.png (1×750 px, 83 KB)

Dec 12 2015, 2:03 AM · Safari, Differential, Bug Report
chad renamed T9969: Differential 1-up render doesn't trigger on iOS from 'Show 20 lines' broken on mobile devices to 'Show 20 lines' broken on mobile Safari.
Dec 12 2015, 2:02 AM · Safari, Differential, Bug Report
chad added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

In Safari/iOS I intermittently get the desktop site. No issues in Chrome.

Dec 12 2015, 1:58 AM · Safari, Differential, Bug Report
starruler added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

That screenshot was taken as a 'logged out' user. There were two columns (so not unified diffs?)

Dec 12 2015, 1:52 AM · Safari, Differential, Bug Report
starruler added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

iPhone 5s simulator

Dec 12 2015, 1:51 AM · Safari, Differential, Bug Report
epriestley added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

Oh, there are only two options and neither would break this.

Dec 12 2015, 1:45 AM · Safari, Differential, Bug Report
epriestley added a comment to T9969: Differential 1-up render doesn't trigger on iOS.

Is Settings → Diff Preferences → Show Unified Diffs set to "On Small Screens" (the default) for you?

Dec 12 2015, 1:44 AM · Safari, Differential, Bug Report
starruler created T9969: Differential 1-up render doesn't trigger on iOS.
Dec 12 2015, 1:40 AM · Safari, Differential, Bug Report
epriestley closed T9968: Phame can fatal if handed an older-style URI as Resolved.

D14747 should fix this. I haven't pushed that yet, but I updated all the changelogs.

Dec 12 2015, 1:36 AM · Phame, Bug Report
epriestley renamed T9968: Phame can fatal if handed an older-style URI from Phame Fatal to Phame can fatal if handed an older-style URI.
Dec 12 2015, 1:36 AM · Phame, Bug Report
epriestley added a revision to T9968: Phame can fatal if handed an older-style URI: Restricted Differential Revision.
Dec 12 2015, 1:28 AM · Phame, Bug Report
epriestley added a comment to T9968: Phame can fatal if handed an older-style URI.

The URI scheme changed but this shouldn't fatal. I'll fix the fatal and then go fix the links in the changelogs, there are only like 6 of them or something.

Dec 12 2015, 1:23 AM · Phame, Bug Report
epriestley claimed T9968: Phame can fatal if handed an older-style URI.
Dec 12 2015, 1:22 AM · Phame, Bug Report
chad updated subscribers of T9968: Phame can fatal if handed an older-style URI.
Dec 12 2015, 1:17 AM · Phame, Bug Report
starruler added a comment to T9968: Phame can fatal if handed an older-style URI.

Looks like the URL scheme migh thave just changed? I was able to get to the post by navigating to phame home: https://secure.phabricator.com/w/changelog/2015.49/

Dec 12 2015, 1:11 AM · Phame, Bug Report
starruler created T9968: Phame can fatal if handed an older-style URI.
Dec 12 2015, 1:10 AM · Phame, Bug Report
epriestley added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

I think this should now be fixed in HEAD. Let us know if we missed anything, and thanks for the report.

Dec 12 2015, 1:00 AM · Security, Bug Report
epriestley closed T9966: Diffusion credentials may be leaked under some circumstances as Resolved by committing Restricted Diffusion Commit.
Dec 12 2015, 12:53 AM · Security, Bug Report
epriestley added a revision to T9966: Diffusion credentials may be leaked under some circumstances: Restricted Differential Revision.
Dec 12 2015, 12:52 AM · Security, Bug Report
chad added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

Without steps to reproduce the issue, what specifically do you suggest we do with this ticket?

Dec 12 2015, 12:43 AM · Security, Bug Report
kaya added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

So you haven't actually reproduced this yourself? Is it possible that the user mistook xxxxx as uncensored credentials? Can you try reproducing it directly?

I can't reproduce this locally even with a username email.

Dec 12 2015, 12:31 AM · Security, Bug Report
nipunn added a comment to T9937: During arc land harbormaster lint/unit, it is hard to remember the failure information from previous arc diff.

That prioritization makes sense to me. It doesn't seem worth putting a lot of effort into optimizing the workflow for a bad configuration.

Dec 12 2015, 12:17 AM · Restricted Project, Feature Request, Harbormaster, Arcanist, Restricted Project
epriestley added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

So you haven't actually reproduced this yourself? Is it possible that the user mistook xxxxx as uncensored credentials? Can you try reproducing it directly?

Dec 12 2015, 12:12 AM · Security, Bug Report
epriestley added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

I should note that we're running the latest version of Git (2.6.3) which could be the culprit. From my superficial inspection of the code, it appears that the output of git fetch is simply reflected.

Dec 12 2015, 12:11 AM · Security, Bug Report
kaya added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

In your report, you say <user email address> -- is the login username for this user a string including "@"? Does the UI print out a message like this?

https://xxxxx@domain.com:password@remote.example.com/...

..that is, the beginning of the email address is censored, but the rest of it is not and the password and domain are not? Or is the HTTP username not really an email address?

Dec 12 2015, 12:11 AM · Security, Bug Report
kaya added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

I should note that we're running the latest version of Git (2.6.3) which could be the culprit. From my superficial inspection of the code, it appears that the output of git fetch is simply reflected.

Dec 12 2015, 12:08 AM · Security, Bug Report
epriestley added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

In your report, you say <user email address> -- is the login username for this user a string including "@"? Does the UI print out a message like this?

Dec 12 2015, 12:06 AM · Security, Bug Report

Dec 11 2015

kaya added a comment to T9966: Diffusion credentials may be leaked under some circumstances.
phabricator 7ce84cc27b81a390d4a0d0c224dbc18597d6c1cc (Fri, Dec 4) 
arcanist 05ac4a67e22e06e836e2a0abfba1aa9826490e44 (Fri, Dec 4) 
phutil a6802e4d6b5f6ac4ada2256de27effa2b7189d0a (Fri, Dec 4)
Dec 11 2015, 11:57 PM · Security, Bug Report
epriestley triaged T9937: During arc land harbormaster lint/unit, it is hard to remember the failure information from previous arc diff as Wishlist priority.

I think this is worth improving. However, I think it is not a very important feature in situations where things are set up reasonably well (not too many lint false positives, fairly fast tests or server-side CI), and that fixing these problems will have a lot of other benefits in cases where they aren't working well. That is, this should be more like a "nice-to-have" that saves you a few seconds once a week, not something you're hitting on >50% of revisions.

Dec 11 2015, 11:53 PM · Restricted Project, Feature Request, Harbormaster, Arcanist, Restricted Project
nipunn added a comment to T9937: During arc land harbormaster lint/unit, it is hard to remember the failure information from previous arc diff.

I was able to get some metrics for how many revisions have lint errors in this particular project (repo callsign 'C') with this query:

Dec 11 2015, 11:34 PM · Restricted Project, Feature Request, Harbormaster, Arcanist, Restricted Project
epriestley added a comment to T9966: Diffusion credentials may be leaked under some circumstances.

What version of Phabricator are you running? (You can find this in Config → Versions for recent versions.)

Dec 11 2015, 11:33 PM · Security, Bug Report
kaya created T9966: Diffusion credentials may be leaked under some circumstances.
Dec 11 2015, 10:16 PM · Security, Bug Report
chad closed T9962: Installation failed "Table phabricator_dashboard.dashboard doesn't exist" as Resolved.

Awesome, good to hear.

Dec 11 2015, 7:22 PM · Bug Report
AleisterWeber added a comment to T9962: Installation failed "Table phabricator_dashboard.dashboard doesn't exist".

Yep, that did the trick for me. Sometimes your are just to blind to see. Thank you guys for your help. Phabricator works now perfectly.

Dec 11 2015, 7:21 PM · Bug Report
chad added a comment to T9962: Installation failed "Table phabricator_dashboard.dashboard doesn't exist".

I'd focus on getting the user access to create databases, you'll want it in the future as well to streamline updates.

Dec 11 2015, 6:59 PM · Bug Report