Just collecting some more related stuff here: D14298 adds a .arclint-configurable version requirement check, which currently executes as a side effect of getCacheVersion().
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 18 2015
Oct 17 2015
Oct 16 2015
Oct 15 2015
Yes, that works! It looks like it takes an object of one of these forms PHID-DREV-xxxx (a revision), PHID-DIFF-xxxx (a specific diff in that revision), or a PHID-HMBB-xxxx (a buildable).
Try the diff PHID -- $diff->getPHID()?
Thanks, in the last option, what kind of thing should I pass into harbormaster.queryautotargets for the objectPHID? If I leave it blank I get
{"result":null,"error_code":"ERR-CONDUIT-CORE","error_info":"No such object \"\" exists."}My request was
{
"targetKeys": [
"arcanist.unit"
]
}Oct 14 2015
It looks like that code isn't interacting with Harbormaster at all and is making an HTTP request to Changes directly from inside a Herald action. We (fairly strongly) discourage this as a way to communicate with external systems (see T5462 for discussion/rationale -- it's synchronous and blocks the UI, error handling can't happen properly, and there's no way to retry if it fails). There is no build target available during the execution of Herald actions and I can't really come up with a reasonable way to generate one.
Thanks -- it's hugely helpful to know that Phabricator already merges coverage!
My last comment overlapped with your response, so I've removed it. The solution you've suggested might be workable. I'd have to see how it works in practice.
Phabricator is not a good fit for your workflow, then, and never will be.
For example, here's a reasonable way you might perform these changes:
Increasing max_allowed_packet to a much larger number (say, 512MB) will likely resolve the 2013 error.
How much time does one allocate to reviewing that many lines of code? What are they looking for?
33554432
What is max_allowed_packet set to in MySQL?
Attempt to connect to root@localhost failed with error #2013: Lost connection to MySQL server at 'reading initial communication packet' is the first sign of trouble in the Apache error log. The change set is in the order of ~250K lines.
Differential just can't load the change set into its database.
Ok, perhaps I haven't stated my problem too well, apologies for this.
General progress update here: this now works, technically. Almost every part of it -- particularly, the UI -- is still total garbage for now, but if you ship a revision against rGITTEST up to this server you'll get a "Land Revision" button on it which has worked twice in the past and might work again. I would recommend extending the list of pasta varieties found in the pasta file if you want to try this (the button should appear and function without requiring the revision to be accepted for now, and everyone has write access to the repo anyway).
@aj can you confirm this has been resolved?
@jhurwitz can you confirm this has been resolved?
Releeph will execute all the same core display code and have all the same ingrained workflow assumptions. If your changes are too big to review in Differential, they will also be too big to review in Audit, and Releeph will not have dedicated review tools.
@epriestley What about the pull request functionality ultimately planned for Releeph? Would we ultimately be able to achieve a similar workflow using that? I'm not entirely clear on the direction that Releeph is going to take. Provided it's repository-based, a pull request workflow could work well for us.
It's supposed to be sent with the call to the external build system, but that doesn't seem to work either -- the build target phid received is always ''.
Oct 13 2015
@avivey I understand the concern here with how complex that <thing> can actually be but I feel that arcanist is dropping information that is useful. I would go as far as to say that Phabricator should store the plain <thing> that the author used (the intent of the author), and the more complex version of <thing> that Phabricator might actually care about like in T3462. Overtime it may impossible to go from one to the other. Ex. If you Phabricator were to store <thing> as a commit hash, and <thing> was originally a reference to a branch HEAD, looking back you may not be able to figure out which branch was originally meant by the commit hash since that commit can appear in multiple branches later on. This feels important to me seeing as how branches are the main way of organizing repositories by users (along with tags etc) and may represent something important in a project (like when building). Sorry for the rant haha.
@jcarrillo7: to your implementation suggestion: <thing> may be something really complex, and can be empty (It will default to the remote-tracked branch by default, but you can redefine that).
... and this is a dup of T3462?
Actually I think we can go even deeper (T3462).
@epriestley I think this a quick and reasonable ask to incorporate into Arcanist and Phabricator. Do you agree/ see any potential issues?
Unfortunately, no part of that sounds well-aligned with our thinking about the roles for these applications or our roadmap for the products. If your development workflow routinely has changes which are too large for Differential to reasonably accommodate (20K+ lines?), it is far outside of my experience in software development and Phabricator is probably not a good tool to use for this workflow.
We're currently having a close look at Phabricator as an all-round development platform. Much of it fits our needs very well indeed, barring the code review workflow. Before I delve into what I'm envisaging, a little background...
Oct 12 2015
Blueprint selection (which got more details in T9519) is now in a rough-but-functional state so I expect the rest of this to move forward shortly.
@avivey - That was the case in fact. The default policy was set as "All Users", so no bug here.
Oct 10 2015
Technically, we could implement "To", "Cc", "Any Recipient", and maybe "Sending application" or "Object type" outbound Herald fields today so you could write some variant of this:
I think you're right; the best way forward for us to is to get more powerful filtering rules on the server side. In the meantime, your suggestion for using a mailing list or separate teams seems like a reasonable workaround. Thanks!
Oct 9 2015
There is still valuable feedback that can be given even when there are a
lot of lint errors. Apologies for reopening incorrectly. I'll probably just
make a Firefox extension, since consensus seems to be that this is unneeded
at best.
Please read https://secure.phabricator.com/book/phabcontrib/article/feature_requests/ if you have something you'd like to request for the upstream to build and maintain. There is no need to 'reopen' tickets, as we're capable of doing that ourselves if we feel we will pursue something.
Can you show me a screenshot of an example that demonstrates this problem? It's hard for me to imagine what sort of warnings are valuable enough to raise but not valuable enough to fix.
I'm going to reopen this - I frequently experience the same issue as @koreno. It'd be nice to just have a "hide lint warnings" button.
I'd recommend looking at exactly what arc does and following that, rather than trying to construct calls from scratch.
I am writing a git module to create revisions from git, it is quite similar to arc but I want to avoid rewriting commit messages (Summary and things like that), have a better integration with git and allow sending branches without squashing the commits.
Why are you trying to create revisions with a direct API call? Can you describe the broader problem you're facing? There may be a better solution. See:
@pmbento - I think your situation sounds a little confusing - could you clarify the details? The user is not granted visibility of the repository in Phabricator but still is able to create Differential Revisions on it? This sounds a little odd, as I assume they have access to the repository in order to create the diff revisions in the first place.
Meaning I get the same error while being close to master.
In T9536#139667, @avivey wrote:I can re-create this near HEAD.
I can re-create this near HEAD.
Oct 8 2015
Commit changes to the repository, generating a new "Differential" code review entry.
To create a new Differential Revision, you run "arc diff". No "Commit" object is created, but a "Revision" object and a "Diff" object.
whether upstream wants to wait until it can tackle the generalized problem, or whether you'd be okay chipping away at smaller use cases first,
Ideally, just use a mail client with filters that are powerful enough to do full header matching.
Some people on our install are asking about this task.
I think you can create a "Mailing List" user and add them to the project to accomplish this. This is in addition to other mail delivery.
providing an option to send email to a mailing list address associated with a project
Thanks! It looks like the message delivery was voided because of my preference not to receive mail from Differential:
You can look at /mail/ and get more information about mail delivery.
Hrm; I added a Herald rule that would email me if I'm in the list of reviewers, and changed all of the Differential Revision notification preferences to "Notify", but I didn't get an email when I changed a revision where I was a direct reviewer. (I verified that the Herald rule matched the revision in question using the test console.)
I think this is T5791, that is you can write a Herald rule to say ignore when you're a project reviewer but send email when you're a direct reviewer.
Oct 7 2015
Mercurial does have some support for detecting moves, though I believe it requires analyzing a working directory's changes, and can't operate on specified revisions already committed, so I'm not sure of the value here.
Oct 6 2015
Defining the v0 of this in greater detail -- largely just me thinking out loud:
We are also likely to build some sort of consensus framework (primarily to solve problems in T7639 / T7148) which provides generic support for "N of M users must approve this". This is a cleaner fit for having peers reset your MFA than putting a second weird review step on the merge pipeline, but maybe applicable at some point down the line.
I think we're ready to start laying in some of the groundwork for this. Per T9252, we now have hosted builds of commits and revisions in the upstream. This code still needs additional work and is missing a lot of generality, but the fundamentals seem to be in reasonable shape and I think we're on the path to stability.