Commit Graph

32 Commits (1e8704ce0fe843379465e86c15ad20a5ef7ea79b)

Author SHA1 Message Date
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' 2 years ago
sgoudham efa38be50a
refactor: Reformat '-h' flag output 2 years ago
sgoudham 8bb5abe048
refactor: Move GitViewBuilder into module 'lib_tests' 2 years ago
sgoudham b5572a5adc
feat: Add support for suffix 2 years ago
sgoudham 7a5afc7354
feat: Add support for BitBucket repositories 2 years ago
sgoudham d930d7992f
refactor: Change 'to_owned()' to 'into()' 2 years ago
sgoudham ddf02376c3
test: Add tests for 'get_git_url' 2 years ago
sgoudham 80465ec514
feat: Open default remote branch if no upstream exists 2 years ago
sgoudham ba0eb0f315
test: Add tests for populate_remote() 2 years ago
sgoudham 784aee17d3
refactor: Implement functionality to retrieve git default branch 2 years ago
sgoudham 53706585a2
test: Add tests for get_local_ref() 2 years ago
sgoudham 6e1ecf3657
feat: Add functionality to open issue links 2 years ago
sgoudham 9426dec6ce
feat: Add functionality for opening commit hashes 2 years ago
sgoudham f830f914c5
refactor: Add GitTrait to allow for easier testing 2 years ago
sgoudham 7be0788dc7
refactor: Add issue argument and start generating final url 2 years ago
sgoudham ba6e9cf95a
feat: Add argument 'issue' to open issues 2 years ago
sgoudham ac48831a86
refactor: No need to store domain string in enum 2 years ago
sgoudham de446012c1
refactor: Use Cow<'_, str> and Url/Domain structs 2 years ago
sgoudham 34cb2b6ff5
refactor: Add Url & Domain structs 2 years ago
sgoudham 8f7210a17e
refactor: Don't map to String anymore 2 years ago
sgoudham 95953b87f3
refactor: Perform massive refactor 2 years ago
sgoudham c71a9d22a7
test: Add unit tests for 'parse_git_url()' 2 years ago
sgoudham 26d9e5bd09
feat: Parse URL & (naively) open the url in the browser 2 years ago
sgoudham ce4138712e
refactor: Use 'AppError' for propagation to clap 2 years ago
sgoudham c632965a2a
refactor: Add 'AppError' to allow cleaner propagation of different errors 2 years ago
sgoudham 9011c18d49
feat: Parse URL in a robust way & start adding tests 2 years ago
sgoudham cdaab08594
feat: Ensure that arguments are correctly parsed 2 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