Monorepo for Tangled โ€” https://tangled.org

proposal: refspec support (agit workflow) #280

open
opened by boltless.me edited

supporting refspec like github or gerrit can help reviewing a lot.

Supporting refs/for/[targe] and refs/pull/[pull id] would be easy. We can do even more by using change-ids.

Also, here is a list of refspecs I have in mind based on my change review proposal.

refs/for/[target branch]
- (push) create a new PR with target branch (only when change-id is included in commit header)
refs/pull/[pull id]/head
- (push) update existing PR with that pull id
- (fetch) fetch existing PR
refs/pull/[pull id]/[pull round]
- (fetch) fetch existing PR with that specific round
refs/change/[change id]/head
- (push) update existing change
- (fetch) fetch existing change
refs/change/[change id]/[change round]
- (fetch) fetch existing change with that specific round

jj-vcs itself doesn't support refspecs afaik but that doesn't matter much because it is compatible with git. We can use pure git for refspec operations.

references:

wait, we can't support refs/change/* because then multiple people might try to fetch/push there. refs/pull/* is fine though.

sign up or login to add to the discussion
Labels

None yet.

area

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.issue/3m3v6pngmmp22