Nevermind, this was my fault... the webserver was running a different version of the codebase than the rest of the cluster.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Dec 21 2015
sorry about that "elvis_i3 closed this task as a duplicate of T10025: Can't set a default space for tasks created through EditEngine."
Same here... Sadly D14801 doesn't fix this issue.
By importing repositories, you have amassed a large number of commit import tasks. By deleting those repos, you've made all these tasks obsolete, and they will fail in this manner.
Your safest action now it to wait it out; You can increase the number of task-processing daemons by running ./bin/phd launch 4 PhabricatorTaskmasterDaemon, and let them clear out the bad tasks.
{ "error": null, "errorMessage": null, "response": [ { "activeDiffPHID": "PHID-DIFF-jljg7seerlxdwpqmctef", "authorPHID": "PHID-USER-abzwhc667osh5mwd4gk7", "auxiliary": { "jira.issues": [], "phabricator:depends-on": [ "PHID-DREV-2qrid2heomsyqknvz6ig" ], "phabricator:projects": [] }, "branch": "master", "ccs": [], "commits": [], "dateCreated": "1450064608", "dateModified": "1450349113", "diffs": [ "590952", "590180", "589937" ], "hashes": [ [ "gtcm", "77b01130662887c1a7b5b15a6c04ddf0aa63820d" ], [ "gttr", "bb2e97dcd67904e02fea4ac9643b6467f48aa6af" ] ], "id": "29252", "lineCount": "567", "phid": "PHID-DREV-7cs76mhttnhp7homxd4l", "repositoryPHID": "PHID-REPO-e7qvu3z7a3uhk7akjy7y", "reviewers": [ "PHID-PROJ-cbz6xwpsmzwa4oqodzqg", "PHID-USER-5vh6hvh4jprplkbupz7g" ], "sourcePath": "/home/josh/workspace/REDACTED/", "status": "0", "statusName": "Needs Review", "summary": "REDACTED", "testPlan": "`arc lint --everything`", "title": "REDACTED", "uri": "https://phabricator.redacted.com/D29252" } ] }
> arc amend --trace libphutil loaded from '/usr/src/libphutil/src'. arcanist loaded from '/usr/src/arcanist/src'. Config: Reading user configuration file "/home/josh/.arcrc"... Config: Did not find system configuration at "/etc/arcconfig". Working Copy: Reading .arcconfig from "/home/josh/workspace/REDACTED/.arcconfig". Working Copy: Path "/home/josh/workspace/REDACTED" is part of `git` working copy "/home/josh/workspace/REDACTED". Working Copy: Project root is at "/home/josh/workspace/REDACTED". Config: Did not find local configuration at "/home/josh/workspace/REDACTED/.git/arc/config". Loading phutil library from '/home/josh/workspace/REDACTED/support/flarc/src'... >>> [0] <conduit> user.whoami() <bytes = 117> >>> [1] <http> https://phabricator.redacted.com/api/user.whoami <<< [1] <http> 2,570,538 us <<< [0] <conduit> 2,572,524 us >>> [2] <exec> $ git diff --no-ext-diff --no-textconv --raw 'HEAD' -- >>> [3] <exec> $ git ls-files --others --exclude-standard <<< [2] <exec> 309,152 us <<< [3] <exec> 442,695 us >>> [4] <exec> $ git diff-files --name-only <<< [4] <exec> 161,257 us >>> [5] <exec> $ git rev-parse --verify HEAD^ <<< [5] <exec> 17,530 us >>> [6] <exec> $ git rev-parse 'HEAD' <<< [6] <exec> 22,073 us >>> [7] <exec> $ git log --first-parent --format=medium 'HEAD^'..'d83b73a78e5ffea324c3948866988112837f342b' <<< [7] <exec> 5,918 us >>> [8] <conduit> differential.query() <bytes = 177> >>> [9] <http> https://phabricator.redacted.com/api/differential.query <<< [9] <http> 623,208 us <<< [8] <conduit> 623,581 us >>> [10] <conduit> differential.getcommitmessage() <bytes = 166> >>> [11] <http> https://phabricator.redacted.com/api/differential.getcommitmessage <<< [11] <http> 727,894 us <<< [10] <conduit> 728,127 us >>> [12] <conduit> differential.query() <bytes = 143> >>> [13] <http> https://phabricator.redacted.com/api/differential.query <<< [13] <http> 578,351 us <<< [12] <conduit> 578,568 us Amending commit message to reflect revision D29252: REDACTED. >>> [14] <exec> $ git commit --amend --allow-empty -F '/tmp/e8ccn3ifj3wc8cko/13791-sHgYHg' <<< [14] <exec> 203,644 us
The exception is correct in that the reviewers field contains garbage:
Indeed, there's nothing there by that ID - but why?
So I managed to workaround this issue. First I reset all the attributes of the blueprint with:
I just restarted the first build and looked at the lease that was trying to be obtained:
This is what I see in the daemon page (there are two builds trying to get a lease on this working copy blueprint):
Apparently even new builds that are trying to use this blueprint are now stalling.
Dec 20 2015
Ok, i misunderstood the withMemberPHIDs reference. I thought you wanted to get all the members of a parent project including it's childs.
Your pirate translation (006321cce76b00c3c).
What version of Phabricator are you on?
Your SQL is wrong. It should be:
SELECT * FROM phabricator_repository.repository_commit WHERE id == 77039
Use spaces, a positive "open source" project or custom field, make "Games Project" public, or use a public negative project which is a companion to "Games Project" (Herald rules could enforce that it was added when "Games Project" was added and removed when "Games Project" was removed).
How would I exclude tasks for projects that are not visible then? Or do I have to tag every single task with like an "Open Source" project and then make it filter based on that (this is undesirable because now every task just has a project on there so it can be queried on)?
This is expected. Queries using projects you do not have permission to see are not valid, and do not return results.
I don't think it's helpful for the withMemberPHIDs() case. Here's a specific example:
Have you considered using a nested set for the project hierarchies and build them dynamically?
I've used it in the past for hierarchy stuff and it performs very well for things like "get the sum of value X from this Entity and all of it's children"
Is the Phabricator query wrong then? I've tried loading the commit data based on the commit "id" value rather than "commitIdentifier" here:
Quote shell arguments which contain spaces or special characters. This flag behaves just like git commit -m ..., svn commit -m ..., and hg commit -m ..., and the quoting rules are the same shell rules used by every other shell program.
did you try quotes?
See also T5267. I found that task by searching for "translatewiki" in the global search.
As I wrote at T10015 Translatewiki is maybe a good, free way to translate it. They translate open source projects like mediawiki, or like phabricator maybe in future. See here for details.
I think it is better, if we have a change to do this (at least add a comment) at the console, so you can:
- Checkout what you have to do, do finish a task
- Checkout git or other at the console, switch to branch
- Run arc start to track time
- If you make a break you can run arc stop and post your progress, before you go away, so you don't have to (re)open web again, console is already open
Why do you feel it's better? My concern here is it both takes longer and is more error prone to use a CLI interface with an application like Maniphest. Is there a core problem you feel this solves outside of just staying in the console?
Dec 19 2015
Oki.
commit_id is the id column, not commitIdentifier column.
This is the current intended behavior.
Thanks!
A technical issue I'm running into is that there is pretty much no realistic way to implement $project_query->withMemberPHIDs(...) unless we already have a computed view of effective memberships.
The plan in T3670#149755 has one potentially odd implication: if implemented naively, you may not be able to see all the members of a project.
We haven't seen more of these for a few months and I've been more consistent about tidying them up so I'm just going to close this out, but let us know if anyone catches more of these.
Steps:
- You click at "edit task" or "new Bug Report" or "New feature request",
- Click at "configure form"
- Click at "view form configuration"
- Choose now from the side bar the option "Reorder create forms" or "Reorder edit form" (Second one is not reproducible here, because you got only one visible edit from at the moment)
- Then you can reorder the forms as normal user, so everybody can make chaos, if you got more forms, he can destroy the logical order.
I've updated the description, but I currently expect to promote these changes next week.