@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.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Oct 14 2015
Though if it's git failing, I don't think we'll be much help to you.
Can you provide details for us to reproduce the issue?
both arc diff and git diff is failing with same error. Im not using svn.
Is your issue the same as T7068?
The problem with taking bug reports on prototypes is it assumes a direction in the product (ie, that this page will exist in this form). Right now I want to hold off on bug reports until something closer to "unbeta" is ready to hit. I do currently plan to build one-off UI components so Phame is more than just Maniphest or Ponder.
Please read this document carefully before filing a feature request:
I'm not sure there's anything we can really do about this. Gmail is applying a destructive transformation to outbound mail, and there is no inverse function we can apply to restore the original mail.
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 ''.
I want to see stuffs like this too - this commit is messy, isn't it?
Would this be possible for #prioritization? I would work on it myself, but don't have any ideas for an appropriate fix.
Two follow-up questions, as I'm stuck again, although further down the road:
This workflow is essentially unheard of in Git
In my mind I imagined it similar to GitHub's forking, with the exception that the Pull Request happens a little differently and is seen first in the upstream repository, unless that is specifically what you're referring to here.
In T9562#140172, @epriestley wrote:I'd be inclined to show N branches, for some small value of N like 3 or 5 or 10, with a link to "Show 1,695 more branches which contain this commit...".
Preferentially choosing autoclose branches to order first in that N might be desirable, although picking the first N that the VCS gives us may be faster or more scalable (e.g., if you had 170,000 instead of 1,700, the cost to select the "good" ones might not be worth paying).
Oct 13 2015
I'd be inclined to show N branches, for some small value of N like 3 or 5 or 10, with a link to "Show 1,695 more branches which contain this commit...".
A nice middle ground would be if I could specify to show some branches by default—for example, just autoclose branches—and to have others hidden unless specifically requested.
@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.
This would be really helpful when reviewing code (having context about where its going especially which multiple release branch scenario). It would also be really helpful when building revisions in a build system like Jenkins where different branches need to be built differently (different SDK's etc) and getting from revision to what branch its going into is non trivial at the moment.
@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?
The difficulty in taking bugs is that it assumes a direction, and right now I'm not sold on a direction of keeping "skins". I'd rather take a really solid pass at "NoSkin" and leave it at that for v1, and maybe look at skins again in v2. Mostly though @epriestley and I haven't really discussed it much, so the direction remains up in the air. Phame was something I've considered working on in some spare time.
We have plans to beef up Projects (subprojects, sprints) in the near future. We can't run 3rd party code on the cluster for security reasons.
I am aware of that, but as @epriestley added some tasks for Phame, I thought: "why not had some more". :-)
Phame is a prototype application, and will likely undergo heavy reworking before it's ready for production.
Thanks for the very fast fix, for my two test cases it works now! If I encounter any further problems related to this, I will report :)
This has been fixed in master and cherry-picked into stable (as rPc0a52201). You should be able to update to pick up the fix.
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.
The upstream only provides support for self-install (by our installation guide) or through our hosting service, Phacility. If you use packaged installers or some other hosting provider, you'll have to contact them for support. We just don't have insight into how they package/modify/maintain Phabricator.
I'm using a hosting service, where you can run phabricator at virtual machines, because this service allow free hosting for 1-5 users. I use this, because I'm working as an volunteer, and don't want to pay money for this, but need a software to organize, and phabricator is ideal. (It is not very comfortably, there is only an old version of phabricator).
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...
I'm seeing this same problem if a single user is a member of two projects. That user can only accept the audit for one of the projects leaving it in this state.
Not sure if any of this is relevant to T8297, but everyone loves walls of text!
I think that change is tentatively within the realm of reason, but I have some concerns.
The other exception I noted in my previous comment might be unrelated - still investigating what's causing it.
After fixing my .hgrc to allow for default merge behavior, and the landing continues past the squashing, I got this exception:
| 1 | cspeckrun@specktop ~/P/n/hgtest> arc land test --trace |
|---|---|
| 2 | libphutil loaded from '/Users/cspeckrun/Projects/phacility/libphutil/src'. |
| 3 | arcanist loaded from '/Users/cspeckrun/Projects/phacility/arcanist/src'. |
| 4 | Config: Reading user configuration file "/Users/cspeckrun/.arcrc"... |
| 5 | Config: Did not find system configuration at "/etc/arcconfig". |
| 6 | Working Copy: Reading .arcconfig from "/Users/cspeckrun/Projects/neandrake/hgtest/.arcconfig". |
| 7 | Working Copy: Path "/Users/cspeckrun/Projects/neandrake/hgtest" is part of `hg` working copy "/Users/cspeckrun/Projects/neandrake/hgtest". |
| 8 | Working Copy: Project root is at "/Users/cspeckrun/Projects/neandrake/hgtest". |
| 9 | Config: Did not find local configuration at "/Users/cspeckrun/Projects/neandrake/hgtest/.hg/arc/config". |
| 10 | >>> [0] <conduit> user.whoami() <bytes = 117> |
| 11 | >>> [1] <http> http://192.168.0.133/api/user.whoami |
| 12 | <<< [1] <http> 114,236 us |
| 13 | <<< [0] <conduit> 114,780 us |
| 14 | >>> [2] <exec> $ HGPLAIN=1 hg bookmarks |
| 15 | <<< [2] <exec> 96,922 us |
| 16 | >>> [3] <exec> $ HGPLAIN=1 hg bookmarks |
| 17 | <<< [3] <exec> 106,534 us |
| 18 | >>> [4] <exec> $ HGPLAIN=1 hg bookmarks |
| 19 | <<< [4] <exec> 112,179 us |
| 20 | >>> [5] <exec> $ HGPLAIN=1 hg help rebase |
| 21 | <<< [5] <exec> 118,990 us |
| 22 | >>> [6] <exec> $ HGPLAIN=1 hg status |
| 23 | <<< [6] <exec> 134,823 us |
| 24 | Updating master... |
| 25 | >>> [7] <exec> $ HGPLAIN=1 hg pull |
| 26 | <<< [7] <exec> 2,007,539 us |
| 27 | >>> [8] <exec> $ HGPLAIN=1 hg branch |
| 28 | <<< [8] <exec> 97,104 us |
| 29 | >>> [9] <exec> $ HGPLAIN=1 hg help phase |
| 30 | <<< [9] <exec> 104,958 us |
| 31 | >>> [10] <exec> $ HGPLAIN=1 hg log -r 'master' --template '{phase}' |
| 32 | <<< [10] <exec> 108,314 us |
| 33 | >>> [11] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'ancestor('\''master'\'','\''test'\'')' -- |
| 34 | <<< [11] <exec> 107,554 us |
| 35 | >>> [12] <exec> $ HGPLAIN=1 hg log -r 'reverse(('\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\''::'\''test'\'') - '\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\'')' --template '{node|short} {desc|firstline}\n' |
| 36 | <<< [12] <exec> 106,848 us |
| 37 | The following commit(s) will be landed: |
| 38 | |
| 39 | 945ead78d871 addfile |
| 40 | 364c8f96f85c more mods |
| 41 | 35f26c87dd0f creating a branch |
| 42 | 2ae07ac41111 modifying readme for COLLISIONS |
| 43 | 16a239549c36 creating a branch |
| 44 | |
| 45 | >>> [13] <exec> $ HGPLAIN=1 hg bookmarks |
| 46 | <<< [13] <exec> 103,020 us |
| 47 | Switched to bookmark test. Identifying and merging... |
| 48 | >>> [14] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'ancestor('\''master'\'',.)' -- |
| 49 | <<< [14] <exec> 116,019 us |
| 50 | >>> [15] <exec> $ HGPLAIN=1 hg log --template '{node}{desc}' --rev '('\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\''::. - '\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\'')' --branch 'default' -- |
| 51 | <<< [15] <exec> 109,840 us |
| 52 | >>> [16] <conduit> differential.query() <bytes = 139> |
| 53 | >>> [17] <http> http://192.168.0.133/api/differential.query |
| 54 | <<< [17] <http> 135,782 us |
| 55 | <<< [16] <conduit> 136,002 us |
| 56 | |
| 57 | |
| 58 | Revision 'D1: creating a branch' has not been accepted. Continue anyway? |
| 59 | [y/N] y |
| 60 | |
| 61 | >>> [18] <conduit> differential.getcommitmessage() <bytes = 147> |
| 62 | >>> [19] <http> http://192.168.0.133/api/differential.getcommitmessage |
| 63 | <<< [19] <http> 129,463 us |
| 64 | <<< [18] <conduit> 129,780 us |
| 65 | Landing revision 'D1: creating a branch'... |
| 66 | >>> [20] <conduit> harbormaster.querybuildables() <bytes = 218> |
| 67 | >>> [21] <http> http://192.168.0.133/api/harbormaster.querybuildables |
| 68 | <<< [21] <http> 126,710 us |
| 69 | <<< [20] <conduit> 126,976 us |
| 70 | BUILDS PASSED Harbormaster builds for the active diff completed successfully. |
| 71 | >>> [22] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'master' -- |
| 72 | <<< [22] <exec> 109,714 us |
| 73 | >>> [23] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'ancestor('\''master'\'', '\''test'\'')' -- |
| 74 | <<< [23] <exec> 117,455 us |
| 75 | >>> [24] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'test' -- |
| 76 | <<< [24] <exec> 119,290 us |
| 77 | >>> [25] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'first(('\''master'\''::'\''test'\'')-'\''master'\'')' -- |
| 78 | <<< [25] <exec> 117,949 us |
| 79 | >>> [26] <exec> $ HGPLAIN=1 hg log --template '{node}\n' -r 'roots(descendants('\''16a239549c36d491544e6e8703fb72e0d0e8fdbc'\'')-descendants('\''test'\'')-('\''16a239549c36d491544e6e8703fb72e0d0e8fdbc'\''::'\''test'\''))' |
| 80 | <<< [26] <exec> 117,646 us |
| 81 | >>> [27] <exec> $ HGPLAIN=1 hg rebase --collapse --keep --logfile '/private/var/folders/tr/c72q6hn50_z_0js71p2gdy400000gq/T/evd1r79kjq8ks80o/16313-azEq0E' -r '('\''16a239549c36d491544e6e8703fb72e0d0e8fdbc'\''::'\''test'\'')' -d 'master' |
| 82 | rebasing 37:16a239549c36 "creating a branch" |
| 83 | note: rebase of 37:16a239549c36 created no changes to commit |
| 84 | rebasing 38:2ae07ac41111 "modifying readme for COLLISIONS" |
| 85 | note: rebase of 38:2ae07ac41111 created no changes to commit |
| 86 | rebasing 39:35f26c87dd0f "creating a branch" |
| 87 | note: rebase of 39:35f26c87dd0f created no changes to commit |
| 88 | rebasing 40:364c8f96f85c "more mods" |
| 89 | merging README |
| 90 | note: rebase of 40:364c8f96f85c created no changes to commit |
| 91 | rebasing 41:945ead78d871 "addfile" (tip test) |
| 92 | note: rebase of 41:945ead78d871 created no changes to commit |
| 93 | <<< [27] <exec> 195,705 us |
| 94 | >>> [28] <exec> $ HGPLAIN=1 hg bookmarks |
| 95 | <<< [28] <exec> 113,416 us |
| 96 | >>> [29] <exec> $ HGPLAIN=1 hg bookmark -f 'master' |
| 97 | <<< [29] <exec> 133,996 us |
| 98 | >>> [30] <exec> $ HGPLAIN=1 hg bookmark -f 'test' -r '945ead78d87118052e3230c6dad7c51e9c08c4eb' |
| 99 | <<< [30] <exec> 124,422 us |
| 100 | >>> [31] <exec> $ HGPLAIN=1 hg log -r 'children('\''test'\'')' --template '{node}\n' |
| 101 | <<< [31] <exec> 123,640 us |
| 102 | >>> [32] <exec> $ HGPLAIN=1 hg checkout 'master' |
| 103 | <<< [32] <exec> 114,024 us |
| 104 | >>> [33] <event> land.willPushRevision <listeners = 0> |
| 105 | <<< [33] <event> 112 us |
| 106 | Pushing change... |
| 107 | |
| 108 | >>> [34] <exec> $ HGPLAIN=1 hg push -r 'master' '' |
| 109 | pushing to ssh://phab-devel.code/diffusion/HGTEST/hgtest/ |
| 110 | searching for changes |
| 111 | remote: adding changesets |
| 112 | remote: adding manifests |
| 113 | remote: adding file changes |
| 114 | remote: added 1 changesets with 4 changes to 4 files |
| 115 | remote: [2015-10-13 00:14:42] EXCEPTION: (CommandException) Command failed with error #255! |
| 116 | remote: COMMAND |
| 117 | remote: hg log --template '{node}' --rev 'ancestor('\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\'', '\''e309da2bfa84f01dc7a399b3dd5df0d7aaab2677'\'')' |
| 118 | remote: |
| 119 | remote: STDOUT |
| 120 | remote: (empty) |
| 121 | remote: |
| 122 | remote: STDERR |
| 123 | remote: abort: unknown revision 'e309da2bfa84f01dc7a399b3dd5df0d7aaab2677'! |
| 124 | remote: at [<phutil>/src/future/exec/ExecFuture.php:416] |
| 125 | remote: arcanist(head=master, ref.master=172c930630a9), phabricator(head=master, ref.master=3f3626c11a04), phutil(head=master, ref.master=dbf792a053fc) |
| 126 | remote: #0 ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:346] |
| 127 | remote: #1 PhabricatorRepository::execxLocalCommand(string, string, string) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:968] |
| 128 | remote: #2 DiffusionCommitHookEngine::findMercurialPushKeyRefUpdates() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:693] |
| 129 | remote: #3 DiffusionCommitHookEngine::findMercurialRefUpdates() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:222] |
| 130 | remote: #4 DiffusionCommitHookEngine::findRefUpdates() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:124] |
| 131 | remote: #5 DiffusionCommitHookEngine::execute() called at [<phabricator>/scripts/repository/commit_hook.php:133] |
| 132 | remote: pushkey-abort: prepushkey.phabricator hook exited with status 255 |
| 133 | remote: transaction abort! |
| 134 | remote: rollback completed |
| 135 | abort: updating bookmark master failed! |
| 136 | <<< [34] <exec> 3,116,171 us |
| 137 | PUSH FAILED! |
| 138 | >>> [35] <exec> $ HGPLAIN=1 hg --config extensions.mq= strip 'master' |
| 139 | <<< [35] <exec> 160,032 us |
| 140 | >>> [36] <exec> $ HGPLAIN=1 hg checkout 'test' |
| 141 | <<< [36] <exec> 135,399 us |
| 142 | Switched back to bookmark test. |
| 143 | Usage Exception: 'hg push' failed! Fix the error and push this change manually. |
| 144 | |
| 145 | [2015-10-13 04:14:43] EXCEPTION: (ArcanistUsageException) 'hg push' failed! Fix the error and push this change manually. at [<arcanist>/src/workflow/ArcanistLandWorkflow.php:1083] |
| 146 | arcanist(head=stable, ref.master=9e65fc65164a, ref.stable=1773aad85599), phutil(head=stable, ref.master=55f554b618b9, ref.stable=c5a7d67db294) |
| 147 | #0 ArcanistLandWorkflow::push() called at [<arcanist>/src/workflow/ArcanistLandWorkflow.php:224] |
| 148 | #1 ArcanistLandWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382] |