Giter VIP home page Giter VIP logo

git-o-clock's Introduction

git-o-clock's People

Contributors

gitter-badger avatar theredfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gitter-badger

git-o-clock's Issues

More tests and less unwrap()

Here some global things to do to improve grm :

  • too much unwrap without error verifications
  • no tests : we definitely should add tests to the main functions. You can also take a look to #9

Add Travis CI script to test grm install and run

GRM can be run on both Linux and Windows. We should test the installation process and then run commands to verify the result on the standard output.

  • Windows -> powershell
  • Linux -> Bash
  • Linux -> Zsh

async-std ?

Hey! RustFest 2019 - We had a talk about async-std and "Do you know that Path use blocking operations?"

We have a lot of calls based on Path.

Configuration file

A simple configuration file named grm.toml that we can parse with serde. We can start by a section to exclude folders and files from the search. More information in #18

Max depth search

Allow the user to configure (#19) the max-depth of the search. It could be :

  • 0 : no limits
  • 1 or more : a max depth will be applied during the search

We can do that with globwalk

Installation process

This issue isn't really elaborate, I will update it later. Main idea :

  • Cargo install grm
  • Binary files in releases (in .zip?)

But first we need a stable and tested release.

Multi-threaded search

We can improve the performances by using a multi-threaded search. We can explore multiple solutions :

  • A default value based on the number of CPUs
  • A CLI parameter
  • A configuration file where we can set the maximum number of threads
  • All of them

Shell completions

We currently have a bash completion script. It has been generated with Clap. Then the file has been updated to reflect our needs, so the process isn't completely automated. We also need to cover zsh.

  • Find a way to automate the generation of completions script (based on Clap or not)
  • Support ZSH
  • Automate the generation in travis CI for future releases

Clean repositories

After adding repositories with grm, users can move their projects or delete them. We can provide a simple command to clean the database. This command can take time, users need to be warned.

  • grm clean
  • Ask user to confirm the action with the list of repositories to remove
  • Create a backup file with the list of removed paths from the database : grm-clean-[DATE]
  • Remove non existing repositories from the database

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.