Drop features to reduce friction on first use #395

Open
noerw wants to merge 5 commits from noerw/tea:drop-features into main
Member

This implements the proposal #379. Check the commit messages for a summary of changes.
To try these changes, run

tea pr checkout 395
make install

For now this is a preview to evaluate the proposal (I'll properly upstream the changes to go-git, and split this PR up as necessary).
Let me know what you think.

This implements the proposal #379. Check the commit messages for a summary of changes. To try these changes, run ``` tea pr checkout 395 make install ``` For now this is a preview to evaluate the proposal (I'll properly upstream the changes to go-git, and split this PR up as necessary). Let me know what you think.
noerw added the
kind/breaking
kind/proposal
labels 2021-09-04 13:32:59 +00:00
noerw added 5 commits 2021-09-04 13:33:00 +00:00
drop --remote flag
replacement: If you need to specify a different remote repo, just use the --repo flag explicitly
16f7670f8d
--repo: drop support for local repos
if you need to operate on a different local repo, `cd` to it first
6c3d1358a6
remove ssh support
for git operations, rewrite SSH remote urls as https internally

this currently requires a custom patch of gogit to implement
dynamically setting the remote URL for fetch/push operations:
https://github.com/go-git/go-git/issues/173
a945b62c81
pr create: add --head-repo flag
the previous way to specify a fork head (owner:branch) remains functional
b9e11cb33b
document more assumptions
Some checks failed
continuous-integration/drone/pr Build is failing
472d105a3c
Author
Member
upstream go-git PR: https://github.com/go-git/go-git/pull/375
Some checks are pending
continuous-integration/drone/pr Build is failing
check-and-test / check-and-test (pull_request)
Required
This pull request has changes conflicting with the target branch.
  • cmd/flags/flags.go
  • cmd/login/add.go
  • cmd/pulls/create.go
  • main.go
  • modules/context/context.go
  • modules/git/auth.go
  • modules/interact/login.go
  • modules/interact/pull_create.go
  • modules/task/login_create.go
  • modules/task/login_ssh.go

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u drop-features:noerw-drop-features
git checkout noerw-drop-features
Sign in to join this conversation.
No description provided.