You can find info on authorizations here: https://secure.phabricator.com/book/phabricator/article/drydock_blueprints/ and here: https://secure.phabricator.com/book/phabricator/article/drydock_security/
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 29 2015
I have, a week or so ago. However, around October 12 "Blueprint Authorizations" were added to Drydock and those changes broke our entire build setup. There was no documentation on how to work with these Authorizations at the time (or I couldn't find it), so I rolled back to the last commit before those changes.
That commit is from October 8th, have you tried updating to HEAD?
Yep, that was the issue. I needed to pull down some changes so I actually ran:
If you do this:
Also, there is nothing in my .gitconfig about [remote].
Woops. I just assumed that since git remote show origin listed the branch as tracked under remote branches, that it was tracked.
Can you show me this?
I successfully was able to land onto a remotely tracked branch other than master but hit this:
I was going to wait for some feedback on this but should I be submitting a diff for this?
FWIW this would be useful in repositories where users can push branches (and maybe only to certain regex-matching branch names) and not tags.
There was one more followup in T3855 to fix a couple of bugs, but if you updated this morning you probably picked that up.
This works great now; thank you very much!
If CircleCI can only build branches, we could theoretically add an option to have arc push to branches instead of tags, although this is a lot of work and complexity on our side to get around what seems like a relatively silly limitation in CircleCI, if the limitation actually exists. I can just poke at the API to see if I can figure out how to build tags, but if someone already has it working that's obviously easier.
(also see T4675 which is a similarly related task)
Closing this out as Invalid. We have no means of taking hypothetical feature requests, please see our documentation for a better explanation:
After a closer look there seem to be quite a lot of inconsistencies for the different .when fields.
Uhm I tested the same last month when 2.0 was still beta then conclude that phabricator only supported 1.x.
I will follow the resolution of this.
Doing
diff --git a/src/applications/harbormaster/step/HarbormasterLeaseWorkingCopyBuildStepImplementation.php b/src/applications/harbormaster/step/HarbormasterLeaseWorkingCopyBuildStepImplementation.php index 3c4d18f..9e20b6c 100644 --- a/src/applications/harbormaster/step/HarbormasterLeaseWorkingCopyBuildStepImplementation.php +++ b/src/applications/harbormaster/step/HarbormasterLeaseWorkingCopyBuildStepImplementation.php @@ -43,7 +43,9 @@ final class HarbormasterLeaseWorkingCopyBuildStepImplementation
This would be awesome !
If you agree can I submit a fix :
- same as rP43569d4e278c365a1feb9497acfa4ce336a8262c for first part
- if needed (maybe first part solve all later on by adding buildable.repository if no repository are selected) a modification of UI that say that clone instead of also clone and make it required.
Basically I see two problems:
- the fact that null isn't a normal argument and should be and empty array : it thus for me seems very similar with T9631: Don't crash when users fail to specify additional working copies and should be easy to fix
- the fact that it is not working while all seem's to be set correctly (that is the reason I posted all this (let me know if you need more). It seem's to be a reall problem too but it is probably just me being dumb !
my create repository all time is the status
Type Git Callsign API Projects None Status Repository Active Found Binary git /usr/bin/git Pull Daemon Running Task Daemon Running Storage Directory OK /var/repo No Working Copy Yet Waiting for daemons to build a working copy
Thank you that worked.
D14365 should fix that too, now. Landing in a sec...
Oct 28 2015
D14365, applied locally, does fix both issues.
Cool, that's an easy fix.
Yes, an explicit --ff makes it complete:
Ah, okay. If we put a no-op "--ff" in that command, does it overwrite the configuration option and work locally?
Aha -- I have merge.ff = off in my ~/.gitconfig, which causes:
Let's look at your second one first since I think that's a little simpler. I can't immediately reproduce it. Here's what I did:
This appears to have broken a couple workflows that I would assume to be common. Using c844669, I now see the following:
I think that will fix things, let me know if you run into more cases.
After D14361, the new behavior is so complicated that I don't think I can briefly explain it, but very roughly:
What about making drop zones ultra long down i.e. to show only names at the top and allow users to drop anywhere, not necessarily at current small "drop zone" at the top?
I can't remember which ticket, but I remember a similar discussion regarding arc patch (whether arc patch should patch onto HEAD or pull from the staging area).
This is just a big mess to resolve in the general case because we need to identify a path from whatever was landed to the remote, then cascade changes down along it, because there may be an arbitrary number of local branches between the target and the remote.
Yes, that's what this refers to:
Because this works from the staging repository, it will be possible to trick it right? I mean, I could do this to sneakily commit virus.exe to the repository:
In T9661#142249, @epriestley wrote:oh come on you're just making up new workflows at this point
I'm also happy to fix up this patch myself, if anyone can give me some hints as to what I did wrong :)
I've attached D14359 which is running in our local phab instance and mostly works. While the rule works as intended, the status doesn't want to display properly. I don't expect anyone to accept this as-is, but I thought I'd share as a starting point for anyone who has the time and knowledge to do it The Right Way.
My concern here is these colors are part of a standard pattern across all of Phabricator, and I've been explicit in making sure they're consistently used and applied, so the entire suite of apps is easy to use and pick up with common patterns. I worry about giving such additional flexibility as it increases cognitive load on users. Functionally, there are 3 colored states we apply consistently, "open", "closed", and "archive". Additionally there are 3 colored states for policy, "default", "more open", "less open".