https://secure.phabricator.com/T5746#69560 has a quick summary of why this isn't totally trivial.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 31 2014
- Add example patches to arcanist/src/parser/__tests__/diff/.
- Add structured test cases for these patches in ArcanistDiffParserTestCase (that file has plenty of examples). These checks make sure the parse is correct.
- Run arc unit. Your new tests should fail; the existing tests should pass.
- Adjust ArcanistDiffParser until all tests pass.
- You can find a (more complex) example of stripping a header here: https://secure.phabricator.com/diffusion/ARC/browse/master/src/parser/ArcanistDiffParser.php;52947cfd92b331916adffa1ff3233546446c881b$194-208
Oct 30 2014
Closed by commit rP4a00e476460f.
Yeah, we're basically cheating. It's way easier to implement that way than trying to look things up in the repository, and it works if the repository isn't tracked or all the context is unpublished.
- It affects the revision's visibility, Herald rules, etc.
- We don't fill it in, we just generate a diff with -U9999999 or similar. Here's the command in SVN: https://secure.phabricator.com/diffusion/ARC/browse/master/src/repository/api/ArcanistSubversionAPI.php;52947cfd92b331916adffa1ff3233546446c881b$307
For (1), see T6200. This will probably be fixed soon-ish.
Oct 29 2014
This is theoretically supported, but not documented, and may have some rough edges (I believe only one user has done an implementation).
Are you using Countdown as a way to specify things like due dates, launch dates, etc?
- This warning seems scary, but is super minor. We should probably tailor the output to make this more clear, or silence the warning entirely when running in batch (--all or --type) modes (showing it when indexing a single object probably still makes sense).
- Usually, this is because some sub-object doesn't exist. In this case, when we load a wiki page we also load the content. Probably the content has gone missing somehow. We decline to load partial objects and fail with this error. Other cases are, e.g., a commit with a missing repository.
- Running bin/remove destroy <phid> is usually a reasonable way to resolve the error. Ignoring it is also reasonable.
- The root cause is probably an actual bug, but we don't have nearly enough information to figure out what happened by just seeing that something went missing (there's no way to reproduce the issue, and in most or all cases examining the database doesn't give us any more information). There are a handful of outstanding issues with Phriction, particularly around moves/renames and project integration, so whatever the root cause was will probably be fixed when we clean that stuff up.
Some specific notes on this:
Closed by commit rPdc6b988deac9.
Maybe this is more complicated than I think, the same user made a comment here:
See D8703 for previous work. We currently assume that #security. is a slug named security. (with a period), and allow this as a side effect of allowing slugs like #blog.phacility.com, which seems reasonable (e.g., allowing project names to be domain names or domain-like strings).
We'll fix this eventually, but this isn't a priority and may require a more general approach (see also T665). As a workaround, you should be able to reload the page.
Yes, the current implementation doesn't pursue that optimization because it's simpler to omit it and simpler to debug issues when the queries only do one thing each.
We removed this in June for security reasons. You can find some discussion in the June changelog:
Oct 28 2014
We do not plan to implement that. See T6409 for some discussion.
We don't plan to implement this. One issue is that it would conflict with T5474, which is a more general and powerful mechanism.
Oct 27 2014
Closed by commit rPde40bc0c1d86.
Closed by commit rP6410d8fd1689.
That describes a more general fix, but I'm not going to pursue it for now.
(We've had ~3-5 other similar issues in the past.)
After D10748:
Oh, right, there's no fulltext search support for custom fields right now. Fixing description indexing is simple, let me just do that first and we'll go from there. We could build custom field fulltext stuff too, potentially, but that's far more involved.
@qgil seems to have pointed out the rule on that ticket, but we only collapse after (technically, right before) your most recent action, not by default. The theory is that if you've acted on an object you usually have already read everything above your action, and you can review your most recent action for a reminder of where things left off.
Ah, sure, we can make that text searchable.
We'll indirectly support this via T3980, which will let you bind a project's members to some LDAP query.
We don't plan to implement this.
Cool. We'll fix the legacy names, they should work everywhere.
Looks like legacy config option names aren't read from .arcrc. Change immutable_history to history.immutable in your .arcrc and try again?
Oct 26 2014
I think it's better because it's already built, it's simpler from a code perspective, it's consistent with most other applications (which sort from newest objects to oldest objects), and it does serve some use cases like checking how many users have signed up recently (which are rare, but probably more common than the browse-for-usernames use case).
Even if we assume that you frequently need to look up users whose names you roughly remember how to pronounce but do not know how to spell (which I don't believe anyone does regularly), the proposed solution is a bad solution to the problem. It doesn't help if you remember their real name, or only part of their full name, or know the initial sound but not the initial spelling (e.g., "chris" vs "kris"). The best way to find users who you only know a tiny amount of information about is still search, and always will be. This is dramatically more true on large installs.
If you only know the name starts with "g", there are nine pages of results on this install. There will be many more on the WMF install. In all reasonable cases it is faster to go get more information about the user you're trying to look up so you can narrow your search instead of scanning through 900+ results manually.
If you want to find people by username, start typing the username into the global search. You can also type any part of their real name, or a combination of letters from the username and real name (like "eprie priestley"). The typeahead is dramatically better for finding people than an ordered list.
The Editor needs null internal/external apply implementations to handle mentions. This is a ~4-line fix.
While this is a little weird, it doesn't do anything bad and I'm not sure it's really worth the complexity of preventing. In particular, we've had a couple of cases where the original task is re-opened and then legitimately re-merged later, and it would prevent this workflow. The un-merge/re-merge workflow seems more useful than the double-merge workflow seems weird, to me.
Beyond being unexpected, is this actually useful?
Oct 25 2014
Oct 24 2014
Closed by commit rPa4b281aa2916.
Oct 23 2014
Closed by commit rPHU43a0b6d17bb0.
Closed by commit rPHU0db4b149c4e0.
I'll accept a patch for this which allows lists in this style:
Oh, you mentioned that. Yeah, not as convenient. But the skin-deep field we had before was a huge support headache and we just want to implement the right fix (T3670), not return to a bandaided state of affairs.
We had this before and removed it. It was really confusing because users would, for example, search for tasks tagged with "Superproject" and expect to find tasks tagged with subprojects, but since the relationship was only skin-deep things didn't work like that.
I plan to let you choose a custom field to serve as "points" instead of counting each task as 1 point, but this isn't a priority.
Oct 22 2014
(And, yeah, most clients don't seem to care that we don't actually have an <a ..> tag and just link the thing anyway.)
PhabricatorMetaMTAMailBody is used to build bodies. Currently, links are (usually? always?) added with addTextSection(). To fix this:
Specifically, the history feature allows you to press the up/down arrow keys to select previous answers you've given to the prompt.
We have a piece of code which does a bunch of bash wizardry to try to fake history on these prompts. I think we should just remove the history feature; it doesn't seem valuable enough to justify figuring out what's going on here and working around it.
See also T4124 for another Solaris diff issue.
We don't plan to support this and aren't interested in bringing it upstream. It's too unusual a request for us to want to support it: very, very few users are likely to benefit from it, but it makes configuration and connections more complex.
Thought I remembered one of these. D9724 has some more discussion, in particular.
@hach-que and I talked about the policy half of this on IRC recently -- here's a formal task if you want to keep an eye on it.
There's some code which makes an effort to do this already, although I think it never really got hooked up. A few general things here: