Page MenuHomePhorge

nib (Nick Belyavski)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Dec 4 2024, 06:04 (15 w, 23 h)
Availability
Available

Recent Activity

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

Thu, Feb 20

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.

Thu, Feb 20, 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.

Thu, Feb 20, 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
Thu, Feb 20, 11:19
nib updated the diff for D25872: Implements arc work for git workflow.
  • Handles existing branches
  • Fixes indents, adds emoji support, improves REGEX
Thu, Feb 20, 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

Thu, Feb 20, 09:08

Tue, Feb 18

nib updated the diff for D25872: Implements arc work for git workflow.
  • Fixes indents, adds emoji support, improves REGEX
Tue, Feb 18, 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