Edited, seems not to happen when week start on sunday !
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 31 2015
@Gavin, on debian you should :
- install git-core (git is not enough)
- verify that git-http-backend exists in /usr/lib/git-core/git-http-backend
- make a link to something in your path (in my case /usr/bin)
In T9670#142544, @epriestley wrote:D14370 likely fixes this, although I don't have ElasticSearch 2.0 locally and haven't tested it. I'd guess this will give you a clean bill of health:
- Apply the patch;
- run bin/search index --all to rebuild all indexes;
- run the ElasticSearch tool again.
Can you let me know if that works?
I do the command of '$ /usr/local/opensource/phabricator/bin/repository update API --trace', the api repo status is changed ,see follow
Type Git Callsign API Clone/Checkout As ufish-server/ Projects ufish-server Status Repository Active Found Binary git /usr/bin/git Missing Binary git-http-backend Unable to find this binary in the webserver's PATH. You may need to configure environment.append-paths. Pull Daemon Running Task Daemon Running Storage Directory OK /var/repo Working Copy OK /var/repo/API/ Waiting For Update Waiting for daemons to read updates. Importing 0.00% Complete
ph remote repo need git-http-backend support ,but i not found the git-http-backend thanks
Does GIT_CURL_VERBOSE=1 git clone http://phabricator.local/diffusion/TEST/test.gitdoesn't give you useful informations ?
I can't think of any good solution right now, other than forking arc / duplicating the code; Forking is not in itself a bad practice - it's the most extreme form of "configurablity", although it comes with a price.
ArcanistGitLandEngine is less than a week old; I'm not sure how it will grow.
The URL to push to is constant. The ref to push to, however, would depend on what one was merging into -- hence what I mean by needing to be computed. Implementing this would also require replacing all of git-receive-pack on the server side; pushing into refs named by the server allows the server to not worry about magically hiding that overlap. As is, the server can manage the refs as normal refs, which works effectively.
Then locally, you would always push to the same place - just configure the remote.origin.pushURL to the server which does the merging.
How does removing the API call simplify matters? One still needs to have code to construct the name of the ref to push to (even if that's just a string concatenation). Doing that computation on a remote machine, rather than locally, makes little difference.
Can the remote be a magica-virtual ref (Like gerrit's /refs/for/branch), so the API call complexity is removed?
Hm, interesting. I see a few problems with that technique, though:
PEBKAC... I forgot to save my changes to local.json.
https://secure.phabricator.com/book/phabricator/article/remarkup/ is pretty up to date.
Oct 30 2015
Sorry, if this was missunderstanding. I mean, can I use it while commenting somewhere in phabricator like here, like using {Icon}
You can pull the change directly by revision/diff id, using techniques documented at https://secure.phabricator.com/book/phabricator/article/harbormaster/#change-handoff, and have the Merge Manager in-charge of the merge, instead of the diff author; Your API call will instead initiate the merge instead of suggest a magic location for the push.
I guess some absolute value somewhere maybe while(abs(start--)) instead
Just throwing this on here in case it helps anyone. I'm working through an SELinux + phabricator install with hosting over SSH instead of HTTP, and so far I've had to do this to get clone working:
I tested and i does not fix !
Oh, I think I misremembered and it does foreground by default. You can use --background to improve performance, and monitor from /daemon/.
Note that index --all queues stuff into the background, so you may need to wait a while before it finishes. You can use --foreground (slower) or monitor progress from /daemon/ in the web UI.
D14370 likely fixes this, although I don't have ElasticSearch 2.0 locally and haven't tested it. I'd guess this will give you a clean bill of health:
Can you show me the output of this command?
I think the discussion is in T8090.
I think that should clear the way for you, let me know if you hit issues.
I want a policy that initially put tasks in a specific "safe" space, but allow overrides later.
Please read our feature request documentation if you have something you'd like to see in Phabricator. https://secure.phabricator.com/book/phabcontrib/article/feature_requests/
D14368 should fix the issue where you're required to set a dummy "Also Clone" repository.
Hi guys. Unfortunately, my organization is no longer using phabricator, so I'm not really able to maintain libphremoteuser at this time.
Thanks for your reply, the detailed description really helps. The build system works now, and even though the "Lease Working Copy" step doesn't really make sense for us, I'm really glad everything works :-).
Yeah -- that make sense, I'm just want to be mindful of how much complexity we're adding to the upstream in order to subvert barriers that have no technical reason to exist.
Would the above be considered a reasonable, and concrete enough, feature request?
"Lease Host" is not currently expected to work at all. It hasn't been updated for any of the changes, including authorizations. "Lease Working Copy" (under "Drydock") should.
In T9645#142391, @chad wrote:Closing this out as Invalid. We have no means of taking hypothetical feature requests, please see our documentation for a better explanation:
Trac wiki import to Phabricator's Phriction.
In T9456#142404, @epriestley wrote:Is there any technical reason users couldn't be permitted to also push tags matching a regex? Or is the barrier there purely regulatory (you need to appeal to a committee that meets once a month in a locked closet in the basement or whatever)?
AFAIK, it is still the only way to this. I added some bits to it to automatically populate email and name when registering, for the case where authentication is done against an ActiveDirectory instance via kerberos and LDAP, which I published at https://github.com/make-all/libphremoteuser
(Yes, I know that Drydock is a prototype... But I figured it's better to file an issue that will be closed as invalid than to not file one at all?)
Thanks for reopening @tycho.tatitscheff. Before I document anything officially I'd like to wait for @epriestley's answer on T9671#142468, to make sure I'm not Doing It Wrong™ :-).
Reopened since the main concern was more the installation of T9669 and theire is still pending question.
@marceldegraaf : i did the first part (almanac + drydock almanac based host blueprint) of how to configure drydock here : Q179: How do you configure an Almanac based Drydock resource but not found time to get the second part (drydock working copy blueprint + harbormaster + herald). Say me if you wanna details the last part in a ponder question or shall I do it later when i have time.
it is exactly T9669 : should i merge this one into mine ?
Thanks, I set "Also Clone" to a random repository and that solves the exception I pasted. I got my builds working again. For future generations: this is how I configured Almanac/Drydock/Harbormaster now:
In T814#142452, @craigem wrote:Is using psigen's libphremoteuser still the only way to achieve this?
There's been no commits to his repo since 2013 and it is broken against current stable Phab.
my system is mac os ,also the daemon process communicate with ph server is normal ,the ph server is aways found daemon process is dead
Is using psigen's libphremoteuser still the only way to achieve this?
Basically you need to extra set the repo to be cloned. The UI is kinda misleading and the exception is not handled correctly when allow_phid is null
Oct 29 2015
+1 as well. Long diff, lots of comments, comments no longer aligned to their code (because line numbers shift) = unreadable mess.
Alright, I've managed to upgrade Phabricator and fix the storage schemata issues. I've also reconfigured Almanac, Drydock, and Harbormaster to reflect the latest changes regarding blueprint authorizations. My Harbormaster build step is authorized on the Drydock blueprint, so that looks good.
Upgrading Phabricator to the latest HEAD, and running ./bin/storage upgrade results in this error:
Drydock is a prototype and all of the Harbormaster build steps which interact with it are prototypes. Much of this code has been substantially rewritten in the last two weeks. See:
You'll want to update to HEAD if you need support. Please please please.
Thanks, I'll read those. However, I'd still like to know why Drydock leases suddenly stopped working, and why I can't cancel them to free up the daemons, and there's no way to cancel or remove the build tasks from the daemons, too. They just keep retrying forever.