Git Product home page Git Product logo

gitice's Introduction

Hey there! I'm Harsh, a 24 year old Android and Kotlin developer with a strong focus on tooling and developer productivity.

I am a prolific contributor to open-source software, and all of my personal projects are built in the open. Here are some mildly interesting ones!

I blog infrequently at msfjarvis.dev about anything that tickles my fancy, which happens to be Nix and Gradle at the moment.

I no longer have an active Twitter, and can be found on the AndroidDev Mastodon server at @msfjarvis.

gitice's People

Contributors

msfjarvis avatar renovate[bot] avatar sphericalkat avatar web-flow avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gitice's Issues

Migrate thawing to gitoxide

Shelling out to git to clone repos seems like a lost opportunity to be using gitoxide instead

gitice/src/git.rs

Lines 90 to 113 in 48c283e

pub fn thaw_repos(dir: &str, lockfile: &str) -> anyhow::Result<()> {
let lockfile = fs::read_to_string(lockfile).context(format!("Failed to read {lockfile}"))?;
let repos: HashMap<String, PersistableRepo> = toml::from_str(&lockfile)?;
for (name, repo) in repos {
tracing::info!("Cloning {name} from {}", &repo.remote_url);
let output = Command::new("git")
.args([
"clone",
&repo.remote_url,
PathBuf::from(&dir).join(&name).to_str().expect("msg"),
])
.output()
.context("Failed to run `git clone`. Perhaps git is not installed?")?;
if output.status.success() {
tracing::info!("Thawed {name} successfully.");
} else {
tracing::error!("{}", std::str::from_utf8(&output.stderr)?);
}
}
Ok(())
}

gitice fails to scan repos without a root commit

The current code assumes every repo it encounters is fully initialized which is only untrue for newly git init'd repositories that do not have a root commit yet. In this case we'd probably like it best to skip backing up the repository.

Migrate to clap

Need to map out the CLI considering the functionality is done

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): lock file maintenance

Detected dependencies

cargo
Cargo.toml
  • anyhow 1.0.81
  • clap 4.5.4
  • gix 0.61.1
  • serde 1.0.197
  • serde_derive 1.0.197
  • toml 0.8.12
  • tracing 0.1.40
  • tracing-subscriber 0.3.18
  • walkdir 2.5.0
github-actions
.github/workflows/flake-lock-maintenance.yml

  • Check this box to trigger a request for Renovate to run again on this repository

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>msfjarvis/.github//renovate/rust)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.