Coder Social home page Coder Social logo

Comments (1)

laughedelic avatar laughedelic commented on July 17, 2024

Hi, the problem here is that you need a configuration file listing projects that you want to generate this report for. Sorry that it's not obvious from the help 😅. Here is an example of such config:

#!/bin/bash

# I have all my projects in one place then located in org-name/repo-name subfolders
prefix="/Users/laughedelic/dev"

# here we define a function that dispatches projects
function project() {
case $1 in

# "scala" project: first line in the heading for this project, then a list of repositories
scala) echo """Scala_tools
ohnosequences/statika
ohnosequences/cosas
""" ;;

general) echo """General
ohnosequences/sbt-s3-resolver
ohnosequences/sbt-github-release
ohnosequences/nice-sbt-settings
laughedelic/literator
""" ;;

confs) echo """Conferences
bio4j/FOSDEM-2014
ohnosequences/IWBBIO-2014
laughedelic/biss2014
ohnosequences/JdBI2014
"""
esac
}

# this is just the list of projects you want to generate report for
# in the function above you can define all you projects, 
# but here choose only some of them and in particular order
projects=(
scala
confs
general
)

# this is optional, just tuning the format of the output:
week_format='## %s \n\n'
project_format='### %s \n\n'
repo_format='#. [_repo_](https://github.com/_repo_) \n'
commit_format='    + `[%h]` `_time_` — %s'
total_format='\n    In total: _human_time_\n'

And yes, I should improve this command, so that without config it generates report just for the current repository...

from gtm.

Related Issues (15)

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.