Page MenuHomePhorge

nib (Nick Belyavski)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Dec 4 2024, 06:04 (18 w, 4 d)
Availability
Available

Recent Activity

Mon, Apr 7

nib added a comment to Q173: Why do Milestones in parent project's Workboard seemingly randomly hide tasks?.

I patched this in our local repo with a change to /src/applications/project/engine/PhabricatorBoardLayoutEngine.php, in the layoutBoard() method. Around line 520, inside if ($proxy_hits) block, you have array_slice() taking the first element of $proxy_hits, which seems random.

Mon, Apr 7, 23:54

Mon, Mar 17

nib added a comment to D25872: Implements arc work for git workflow.
In D25872#23861, @nib wrote:

@aklapper Would it make sense to move the branch-naming lines into a function in class ArcanistGitWorkEngine, since it the branch-naming is git-specific? E.g.

public function buildBranchName($task_ref) {
  $task_name = $task_ref->getName();
  // regex, preg_replace, trim, etc
  return $branch_name;
}

Probably yes so it's easier with Subversion and Mercurial in the future (?)

Probably something with "for task" in the name like buildBranchNameForTask($task_ref)

Mon, Mar 17, 08:12
nib updated the diff for D25872: Implements arc work for git workflow.
  • Handle arc work for new and existing git branches
Mon, Mar 17, 07:30
nib updated the diff for D25872: Implements arc work for git workflow.

Handle arc work for new and existing git branches

Mon, Mar 17, 06:38

Feb 20 2025

nib added a comment to D25872: Implements arc work for git workflow.

@aklapper Would it make sense to move the branch-naming lines into a function in class ArcanistGitWorkEngine, since it the branch-naming is git-specific? E.g.

Feb 20 2025, 11:33
nib added a comment to D25872: Implements arc work for git workflow.

Hopefully the latest change will work for you. Now it checks existing git branches matching "T12345*" and if any exist, it will git checkout the first one, else it will create it from the task name.
So that should allow you to change the task title, and to use arc work T12345 as many times as you want without error.

Feb 20 2025, 11:24
nib updated the diff for D25872: Implements arc work for git workflow.
  • Fix indents, adds emoji support, improve REGEX
  • Detect existing branch for task
Feb 20 2025, 11:19
nib updated the diff for D25872: Implements arc work for git workflow.
  • Handles existing branches
  • Fixes indents, adds emoji support, improves REGEX
Feb 20 2025, 11:14
nib updated the diff for D25872: Implements arc work for git workflow.

Fixes error when invoking arc work 2nd time on task id

Feb 20 2025, 09:08

Feb 18 2025

nib updated the diff for D25872: Implements arc work for git workflow.
  • Fixes indents, adds emoji support, improves REGEX
Feb 18 2025, 09:24

Feb 13 2025

nib added a revision to T15993: Support for arc work T12345 (workOnTask workflow): D25872: Implements arc work for git workflow.
Feb 13 2025, 05:07 · Arcanist
nib requested review of D25872: Implements arc work for git workflow.
Feb 13 2025, 05:07