u wot m8? havin' a go? havin' a little laff?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 28 2016
Specifically, the issue here is that we fetch and import branch heads, but not other refs, including tags. We also aren't totally consistent about which refs we import across hosted/imported repositories.
@camilorojas You're welcome! PS: I like your avatar ... ^^
In T5391#167263, @witrin wrote:@camilorojas That's because you haven't defined the custom field std:maniphest:vendor:field. Checkout the docs to see how to do that!
@camilorojas That's because you haven't defined the custom field std:maniphest:vendor:field. Checkout the docs to see how to do that!
In T5391#167083, @witrin wrote:@camilorojas I think I just added the following file
src/applications/maniphest/export/ManiphestExcelCustomFormat.php<?php final class ManiphestExcelCustomFormat extends ManiphestExcelFormat { public function getName() { return pht('Custom'); } public function getFileName() { return 'maniphest_tasks_'.date('Ymd'); } /** * @phutil-external-symbol class PHPExcel * @phutil-external-symbol class PHPExcel_IOFactory * @phutil-external-symbol class PHPExcel_Style_NumberFormat * @phutil-external-symbol class PHPExcel_Cell_DataType */ public function buildWorkbook( PHPExcel $workbook, array $tasks, array $handles, PhabricatorUser $user) { $sheet = $workbook->setActiveSheetIndex(0); $sheet->setTitle(pht('Tasks')); $widths = array( null, 15, null, 10, 15, 15, 60, 30, 20, 100, ); foreach ($widths as $col => $width) { if ($width !== null) { $sheet->getColumnDimension($this->col($col))->setWidth($width); } } $status_map = ManiphestTaskStatus::getTaskStatusMap(); $pri_map = ManiphestTaskPriority::getTaskPriorityMap(); $date_format = null; $rows = array(); $rows[] = array( pht('ID'), pht('Owner'), pht('Status'), pht('Priority'), pht('Date Created'), pht('Date Updated'), pht('Title'), pht('Projects'), pht('URI'), pht('Description'), pht('Custom Field'), ); $is_date = array( false, false, false, false, true, true, false, false, false, false, false, ); $header_format = array( 'font' => array( 'bold' => true, ), ); foreach ($tasks as $task) { $task_owner = null; if ($task->getOwnerPHID()) { $task_owner = $handles[$task->getOwnerPHID()]->getName(); } $custom_fields = PhabricatorCustomField::getObjectFields( $task, PhabricatorCustomField::ROLE_VIEW); $custom_fields ->setViewer($user) ->readFieldsFromStorage($task); $custom_fields = $custom_fields->getFields(); $projects = array(); foreach ($task->getProjectPHIDs() as $phid) { $projects[] = $handles[$phid]->getName(); } $projects = implode(', ', $projects); $rows[] = array( 'T'.$task->getID(), $task_owner, idx($status_map, $task->getStatus(), '?'), idx($pri_map, $task->getPriority(), '?'), $this->computeExcelDate($task->getDateCreated()), $this->computeExcelDate($task->getDateModified()), $task->getTitle(), $projects, PhabricatorEnv::getProductionURI('/T'.$task->getID()), phutil_utf8_shorten($task->getDescription(), 512), $custom_fields['std:maniphest:vendor:field']->getValueForStorage(), ); } foreach ($rows as $row => $cols) { foreach ($cols as $col => $spec) { $cell_name = $this->col($col).($row + 1); $cell = $sheet ->setCellValue($cell_name, $spec, $return_cell = true); if ($row == 0) { $sheet->getStyle($cell_name)->applyFromArray($header_format); } if ($is_date[$col]) { $code = PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2; $sheet ->getStyle($cell_name) ->getNumberFormat() ->setFormatCode($code); } else { $cell->setDataType(PHPExcel_Cell_DataType::TYPE_STRING); } } } } private function col($n) { return chr(ord('A') + $n); } }Don't forget to update your class map:
$ cd webroot/phabricator $ ../arcanist/bin/arc liberate src
One of the fundamental features I really like about Phab is how everything is linked nicely: from diffs to tasks to commits to wiki etc... Seems like Audits are surprisingly silo'ed from the rest.
Mar 27 2016
Modifying clang-format to expose individual messages with distinct patches is the best way forward here.
A generic Phab icon would be fine for a first pass at improving this IMO.
At a minimum, Herald, Harbormaster, Nuance, Phortune and Differential can author stories today, although not all of these stories currently render with photos. We should probably assume any application may author stories.
See also vaguely-related T8952.
This is now fully configured.
I ultimately don't think there's any really reasonable way we can fix this that doesn't have a cost and complexity far greater than the benefit.
Mar 26 2016
This has been live for some time without any apparent issues.
We haven't seen further reports of this in more than two months, so I don't plan to mitigate it at the application level.
Presuming resolved by getPathChangedLines($path) + -lines.
This request doesn't describe a root problem, so we can't develop a solution to it. We haven't received any new information in more than a month. See Describing Root Problems and Contributing Feature Requests for help describing root problems and filing feature requests that the usptream can accept.
We can't reproduce this and we haven't learned any new information in more than a month, so I'm going to close it.
This report does not include reproduction steps. Bug reports must include complete, self-contained reproduction steps to be accepted by the upstream. See Providing Reproduction Steps for help.
I'm going to merge this into T10563 which is narrower but more actionable.
We don't have enough information about this problem to design a solution, and haven't received more information in more than a month. See Describing Root Problems and Contributing Feature Requests for details on how to submit an actionable feature request.
I think you are missing some steps, like that you need to set the edit policy to something fairly restrictive. @richardvanvelzen is correct though, you can unlock this from the command line and archive the project. You can also use bin/remove to permanently nuke objects, but it's not recommended.
@camilorojas I think I just added the following file
You can probably use bin/policy unlock to open up the policy.
Mar 25 2016
T10469 is probably the best solution there.
One followup request from D14935: Show the workboard column along with the project. Obviously there is a space vs information value tradeoff, but if workboard columns are relevant anywhere wouldn't it be in Workboards? This was feedback from one of our product managers who looks at many different workbaords, not just a single team's.
Take a look at this and see how far you can get? It might be really easy but it might also be very involved.
It's currently impossible to sort badges by rarity because they rarities are internally 'grey', 'white', 'green', etc., and there is no natural order to these. For example, MySQL has no idea what order 'indigo', 'orange' and 'yellow' should go in, except alphabetical, which is not actually the correct order.
I think this is a feature request, but feel free to switch projects if it's a bug.
Sounds good, let us know if you run into anything else.
Latest version seems to have fixed this. Sorry for the noise, and thanks for building such an awesome software.
For completeness, T10651 is the earlier report.
I think this should now be resolved in HEAD of master. It will likely promote to stable in about 24 hours.