index
:
reflectub
make-errors-more-traceable
make-errors-more-traceable-2
master
Mirror a user’s GitHub repositories
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
main.rs
Age
Commit message (
Expand
)
Author
2021-06-05
run(): Move comment
Teddy Wing
2021-06-05
run(): Remove `unwrap`s
Teddy Wing
2021-06-05
main(): Remove commented test code
Teddy Wing
2021-06-05
Add commented GitHub fetch call with command line username argument
Teddy Wing
2021-06-05
Replace hard-coded values with command line option values
Teddy Wing
2021-06-05
Use database path from command line argument
Teddy Wing
2021-06-05
Move command line option parsing code to `run()`
Teddy Wing
2021-06-05
Add command line option parsing
Teddy Wing
2021-06-03
main::update_mtime(): Use the packed-refs file if no default branch ref
Teddy Wing
2021-06-03
main(): Use a smaller forked repository for testing
Teddy Wing
2021-05-30
main::update_mtime(): Add function documentation
Teddy Wing
2021-05-30
Set repository mtime to GitHub `updated_at` time
Teddy Wing
2021-05-30
github::fetch_repos(): Extract username to function argument
Teddy Wing
2021-05-30
github::fetch_repos(): Fetch all repos from all pages
Teddy Wing
2021-05-30
main: Move current main code to `run()`
Teddy Wing
2021-05-30
main::mirror(): Remove handled comment
Teddy Wing
2021-05-30
main::mirror(): Make the base cgitrc file optional
Teddy Wing
2021-05-30
main::mirror(): Copy a base cgitrc file into the mirrored repository
Teddy Wing
2021-05-30
Only update repository description if the description changed
Teddy Wing
2021-05-30
database: Always try to create the database and tables
Teddy Wing
2021-05-30
main::update(): Add TODO
Teddy Wing
2021-05-30
main::update(): Update repository description on fetch update
Teddy Wing
2021-05-30
main: Remove unused repo variable `r`
Teddy Wing
2021-05-30
main: Fetch from repositories that exist and have been updated
Teddy Wing
2021-05-30
Clone forks to a `/fork/` path
Teddy Wing
2021-05-30
Replace boxed errors with concrete error types
Teddy Wing
2021-05-30
main::mirror: Take a `github::Repo` instead of repo attribute arguments
Teddy Wing
2021-05-30
Add repository description when mirroring
Teddy Wing
2021-05-30
main: Mirror new repositories
Teddy Wing
2021-05-30
main: Add notes for CGit mirroring steps
Teddy Wing
2021-05-30
main: Add TODO for mirroring Git repository
Teddy Wing
2021-05-30
main: If repo was updated, save new `updated_at` value
Teddy Wing
2021-05-30
Check if repo was updated based on `updated_at` timestamp
Teddy Wing
2021-05-30
main: If repo is not in database, insert it
Teddy Wing
2021-05-30
main: Add test `Repo` data
Teddy Wing
2021-05-30
database: Add a way to get a single repo
Teddy Wing
2021-05-29
Create SQLite database
Teddy Wing
2021-05-29
Start setting up database interface
Teddy Wing
2021-05-29
Add function to update a Git repository
Teddy Wing
2021-05-29
git::mirror(): Extract arguments
Teddy Wing
2021-05-29
Work out how to mirror a Git repository
Teddy Wing
2021-05-29
Split GitHub API request into separate files
Teddy Wing
2021-05-29
Parse GitHub API response to a struct
Teddy Wing
2021-05-29
Move headers into HTTP client instead of request
Teddy Wing
2021-05-29
Make a test request to the GitHub API to get user repos
Teddy Wing
2021-05-29
New Rust v1.50.0 project
Teddy Wing