Adjacent work:
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 15 2016
OK, after installing all the necessary extensions and changing the php.ini as recommended by phabricator everything works nice.
Various notes from prototyping:
OK, I'm going to switch to php7 and see if it goes.
T9640 is tracking PHP7 compatibility. We haven't extensively tested Phabricator on PHP7 yet, but I believe several users are running it without any issues. We're happy to fix issues you encounter with PHP7 if you report them.
@epriestley that is from PHP 5.6.17
Is that output from the version of PHP with a problem, or from PHP 5.6.17?
The issue is not comming from missing php-extentions. mysqli was installed and present in fpm and cli so that was not the issue.
The actual function is missing, as @eadler said in the previous comment.
I understand that my description is not a root problem, but I don't know how I could make it clearer.
From the homepage:
Touché!
Here are a few use cases for experienced peers rebasing each other's commits:
- I am reviewing a patch which is OK but I don't like some detail like naming or code organization. It is somewhat subjective and a nontrivial effort to change, so I don't want to force the patch author to do extra work because of my personal preferences, but I am sufficiently annoyed by it that I am willing to do the extra work myself, so I ask them if it's OK for me to change that, and do it. The real work in the patch is still theirs, and so is the responsibility, so 'commandeer' sounds inappropriate.
- a patch needs some trivial change (easy rebase, comment typo fix etc), and the author is not immediately available (different timezone or maybe a volunteer who only has time on the weekends). Asking them to fix will cause unnecessary roundtrip delay and require the author to pay again the cost of resuming the context, setting up the developer environment etc. Also during the roundtrip time more code changes might be merged, requiring a less trivial rebase which might necessitate code review again. So it can be a lot of wasted time compared to just me doing the rebase/typo fix.
- multiple developers working together on a complex patch which touches different parts of the system. This is typical enough in open-source software that the Co-Authored-By commit footer got invented, and would probably happen more at the WMF if support for it in Gerrit would not be so horrible.
d'oh - thanks - I feel like at one point that wasn't yet available and must've just assumed it still wasn't.
You should be able to do "Visible To: Members of X" already (or use Spaces, even). Tags wouldn't affect visibility.
There have only been a handful of occasions where something like this would have been convenient for my team - in the "drive-by" scenario. One developer happens across a bug and fixes it locally in order to continue their testing/development, meanwhile the bug is actually part of a larger problem which another developer is investigating. The options in this scenario are:
- Wait for "drive-by" developer's changes to be landed
- Have the "drive-by" developer export a diff of the relevant file(s) and email to the other
Would having tags on passphrases mean that they would be usable by members of the group? I just did a check as I thought I had created a task about this previously but does not appear to be the case (maybe I was keeping it in a create form and never submitted).
I like the idea of proposing an update but not automatically applying it until the author clicks 'approve.'
Yeah, I understand, although too bad if that task is as low-pri and as large an undertaking as it seems. :/
Mar 14 2016
(I think that title edit is accurate, let me know if I misunderstood.)
@asteinlein, sorry, I missed your earlier question.
Any progress on this?
It was a bug that it disappeared.
Ah. Looks like I just needed to upgrade as this change was made in the last month or so (I last upgraded late Feb). Didn't see this change mentioned in the changelog, or a task for it, so assumed it still wasn't possible. What you have implemented is perfect for us. Sorry for the noise.
This probably isn't directly related to PHP7.
See Also: T9640
Can you show me the output of this command on your system?
This was probably implemented in rP51d2d06e3722ad807be588dc894e8d0f0e8be076
In T10584#164865, @avivey wrote:GitHub actually encourages reviewers to "Add commits to PRs"; It's a little hard to un-teach once it gets hold.
GitHub actually encourages reviewers to "Add commits to PRs"; It's a little hard to un-teach once it gets hold.
It took 6 months before I got my first patch accepted in gerrit.
In T10584#164843, @epriestley wrote:An example of a concerning "New Hire" case is a scenario like this:
It's your first day at Big Company, Inc. as a software engineer.
You submit your first a change to fix a bug.
Someone way more senior than you rewrites it, updates over it, then tells you to commit it.I think this is soul-crushing and incredibly toxic, and want the software to prevent this from being a path-of-least-resistance workflow as much as we reasonably can. The easiest thing should generally be to ask the author to take responsibility/ownership, fix issues, etc., -- the same thing you'd do with a more senior engineer -- so new hires are on equal footing from day one.
FWIW - full time engineers at the WMF do routinely amend each others changes in gerrit, without hesitation.
"Feature doesn't exist" or "We'd use it" isn't to us a description of a root problem. Let's say for sake of argument, we'll never build that solution into Phabricator. Can you describe what problem you are having using Phabricator and let us determine how to solve it in a way that benefits the most users.
Thank you again, I try to describe the situation more clearly.
Maybe notable is that these use cases seem to be completely different from the use cases discussed in D14104 (where "lightweight diffs are probably a plurality, if not majority"). There is also some possible overlap with T6008.
Here's a general outline of a workflow which might satisfy everything without creating the "stomp all over new hires" tension that I want to avoid:
Here's my best effort to summarize downstream use cases for this by reading through https://phabricator.wikimedia.org/T121751 -- let me know if I'm misunderstanding, missing, or misrepresenting anything:
Projects are flaggable under the manage page. We have no plans to make Workboards flaggable.
Well I have searched and the problem is windows encode names in non utf-8 code (usually Windows-1252) and commit this files names in mercurial. Then the parser extract this file names supposing the are correctly encoded in utf8 and as they aren't other classes (like commit parsers) do wrong things (for example try to insert with %s when it isn't utf).
To provide some background and context, we added Commandeer in D2257 to deal with use cases like this:
Still having the same issue although I updated to last version.
Yep, that works. I didn't realize that null was a possible return value.
Mar 13 2016
Sure, so it's not the idea of consistency here that's the issue, it's which existing implementation to actually go with, and you're not convinced Maniphest's one is the way forward?
This isn't a bug, there are just no fields available.
T10579 mentions being able to query / build panels based on multiple states of a Diff or Audit.
Yeah, overall I don't think using a tokenizer universally is a good idea for statuses across Phabricator, but they make a lot of sense perhaps in a few key applications like the ones you mention. I just don't want us to make some forms harder to use/understand for the sake of consistency.
We generally don't want to be in the business of spending time debating design opinions
For Differentia/Auditl see T9372 for the task to improve search and bucketing.
Sounds like Design Feedback (see T10208) as a general task, which we generally don't accept.
EDIT: I removed my prior replies to clean up the thread and avoid anyone in the future mistaking what I wrote as anything but a simple misunderstanding.
I didn't purge the cache here, but here's an updated version of the original diff without the rendering error:
(I did half a diff on tags-on-credentials yesterday but Passphrase uses a couple of unique elements (like a "password" control) that don't currently have field support in EditEngine, so conversion wasn't entirely straightfoward.)