Here is the code snippet for Unix/Linux:
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Sep 21 2015
In the code the unix Command tput cols is used. All this really does is look at the $TERM environment variable and infers the column count from that. On my Mint 17.2 this is 'xterm' and the tput cols command always returns 80 (which is the default column width for xterm).
In Mercurial 3.4/3.5 a new wire-protocol bundle2 was introduced. In 3.4 it was turned on by default only for servers, in 3.5 it was turned on for clients as well.
Sep 20 2015
Sounds like it's being tackled. Thanks for the triage.
preg_match('/CON.*:(\n[^|]+?){3}(?<cols>\d+)/', `mode`, $matches);
$cols = $matches['cols'];This outputs the number of columns of the terminal window according to http://stackoverflow.com/questions/263890/how-do-i-find-the-width-height-of-a-terminal-window (it's a weird trick),so I assume the width can be concluded in some way from the number of columns. Tested it ,but however when resizing the window by mouse the number of columns stays the same,don't know whether this behaves exactly as the non-Windows implementation.
The recommended way of running Arcanist under Windows is from either the command prompt or msysgit, which can be installed from https://git-for-windows.github.io/, with the official PHP for Windows binaries installed in some directory and added to your PATH. Guidance on how to set up Arcanist on Windows can be found at https://secure.phabricator.com/book/phabricator/article/arcanist_windows/.
Sep 19 2015
I think @epriestley misunderstood what the bug report tried to address. I ran into the same problem yesterday.
Ah, I think you're right. I thought that cow just had a nice thick neck (a sign of good breeding), but her tail is a little bristly.
Does the new PHP cowsay implementation need to convert the escaped backslashes to single backslashes?
Would it be possible to get the same functionality for a footer?
Thanks for the response. I have similar concerns about security and using Composer in my own personal projects.
Perhaps similar logic to bower could be leveraged (which I think is more security conscious).
I'd hate to have to reinvent the wheel for library dependencies.
Sep 18 2015
Yeah, I think it's very unlikely that we'll require hovering to reveal document hierarchy (or, eventually, parent projects) since two results called "Onboarding" (or, in the future, "Sprint 32") are completely indistinguishable right now. This use case feels much stronger to me as a material usability issue than snippeting.
Thanks for adding me to this issue! Please don't rely on mouseovers/hovering. I want to be able to just look at the results and see which ones are relevant without having to move my mouse.
(Had those task numbers swapped on my clipboard, fixed.)
Forgive my ignorance, but isn't this what Composer does?
It worked!
Ah good point. I keep learning!
Public (No Login Required) is the name of the Policy control. I think it's more clear to use the exact name vs the short name.
I'm a complete noob to phabricator but I'm loving it! Found this while setting up my own instance. This is obviously of little to low priority but thought I'd drop it here just in case. As mentioned my skills are low with phabricator so searching Maniphest might have failed me if this is a duplicate.
Yeah, that makes sense. I think this is straightforward and won't create a big ball of mess or anything, so I'll see if I can slip it in somewhere.
Given CORGI, would this be nice to pursue sooner than later? That is, I'd rather write all CORGI copy with Remarkup, and there is a lot of it.
@epriestley Thank you very much! Restarting php-fpm (sudo service php-fpm restart) fixed the issue. :)
If i have multiple blocking tasks, and any of them are not resolved i would consider the task blocked and want it to not show based on the "show tasks not blocked by other tasks" filter.
Babun pre-installs cygwin PHP usable from the unix-style shell.
PHP extensions can be installed with pact install php-jsonc php-curl.
As for the native PHP builds, you’ll have to tamper with PATH and manual extraction/file permission for extraction.
What reasons would you prefer using cygwin's php instead of a regular php for windows? Is it just the default/convenient php because it's packaged with cygwin and hooked into its environment settings?
I would like to confirm that it would be a great addition to be able to move a task to a different column within the edit mode.
Especially if you're working within the workboard view, it would be efficient to not need to explicitly move the task to another column, right after the task has been edited within the inline popup (or vice versa).
The https://github.com/aik099/arcanist/commit/8fbffd1adf4bb9a6efb43fa046592c5a595ebe12 change (made myself) solved @neoone described problem. You can apply mentioned commit to your Arcanist install and all should work.
I've checked, that Differential revision is storing images as regular file and that's why it works in Differential itself. But https://secure.phabricator.com/diffusion/ARC/browse/master/src/workflow/ArcanistPatchWorkflow.php;083127c4cc5aaca09cb2cd829a6a58bc7dc74738$605-627 code that applies changes in revision just ignores images instead of attempting to download corresponding file from Phabricator server.
Also having this issue on the Subversion repository.
Does restarting apache (or php-fpm, if using php-fpm) fix this?
Maybe I should check this without our patch. But the patch only regards some files in Phrequent.
Forgot to mention that a user who has access to all the repositories can load the "All Commits" query results in ~1-2secs.
Testing is no problem! We'll clean up after, though.
@chad
Sorry with that! I thought this was a test app.