Commit Graph

33 Commits (3f9c7bd3764984d0ef32da08f1b4867ec1dd1cea)

Author SHA1 Message Date
sgoudham 3f9c7bd376 feat: allow args for `--issue`
closes #2
1 year ago
sgoudham 60e5a22d25 refactor: Tidy up code
- Remove unnecessary comments
- Remove unused 'mut'
1 year ago
Hamothy f6a6c7f27c refactor(#4)!: Drop support for BitBucket URLs
BREAKING CHANGE: This removes support for BitBucket URLs
as I am not well versed with them to robustly support it

closes #4
1 year ago
sgoudham af001e002a
fix: Change commit from 'latest' to 'current' 3 years ago
sgoudham efa38be50a
refactor: Reformat '-h' flag output 3 years ago
sgoudham 8bb5abe048
refactor: Move GitViewBuilder into module 'lib_tests' 3 years ago
sgoudham b5572a5adc
feat: Add support for suffix 3 years ago
sgoudham 7a5afc7354
feat: Add support for BitBucket repositories 3 years ago
sgoudham d930d7992f
refactor: Change 'to_owned()' to 'into()' 3 years ago
sgoudham ddf02376c3
test: Add tests for 'get_git_url' 3 years ago
sgoudham 80465ec514
feat: Open default remote branch if no upstream exists 3 years ago
sgoudham ba0eb0f315
test: Add tests for populate_remote() 3 years ago
sgoudham 784aee17d3
refactor: Implement functionality to retrieve git default branch 3 years ago
sgoudham 53706585a2
test: Add tests for get_local_ref() 3 years ago
sgoudham 6e1ecf3657
feat: Add functionality to open issue links 3 years ago
sgoudham 9426dec6ce
feat: Add functionality for opening commit hashes 3 years ago
sgoudham f830f914c5
refactor: Add GitTrait to allow for easier testing 3 years ago
sgoudham 7be0788dc7
refactor: Add issue argument and start generating final url 3 years ago
sgoudham ba6e9cf95a
feat: Add argument 'issue' to open issues 3 years ago
sgoudham ac48831a86
refactor: No need to store domain string in enum 3 years ago
sgoudham de446012c1
refactor: Use Cow<'_, str> and Url/Domain structs 3 years ago
sgoudham 34cb2b6ff5
refactor: Add Url & Domain structs 3 years ago
sgoudham 8f7210a17e
refactor: Don't map to String anymore 3 years ago
sgoudham 95953b87f3
refactor: Perform massive refactor 3 years ago
sgoudham c71a9d22a7
test: Add unit tests for 'parse_git_url()' 3 years ago
sgoudham 26d9e5bd09
feat: Parse URL & (naively) open the url in the browser 3 years ago
sgoudham ce4138712e
refactor: Use 'AppError' for propagation to clap 3 years ago
sgoudham c632965a2a
refactor: Add 'AppError' to allow cleaner propagation of different errors 3 years ago
sgoudham 9011c18d49
feat: Parse URL in a robust way & start adding tests 3 years ago
sgoudham cdaab08594
feat: Ensure that arguments are correctly parsed 3 years ago
sgoudham 5f0f2fff54
build: Update 'git-browser' to 'git-view' 3 years ago
sgoudham b46891e841
feat: Add MVP git-browser
Given no arguments, this version opens up the remote git repository on
the main branch
3 years ago
sgoudham e11e88b02b
refactor: Setup git-remote walking skeleton 3 years ago