Comments (1)
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)
- git shortlog usage in summary HOT 1
- After gtm set and commit, timer is not set corretly (start/stop works) HOT 2
- Add release command HOT 1
- Group commits by tasks/branches
- Possible integration with waka-time service HOT 1
- Backup/restore command
- Zapier test
- Creating new task fails to create a new issue HOT 5
- tab completion for zsh? HOT 3
- fatal: Couldn't find remote ref refs/notes/timetracker HOT 3
- gtm pick? HOT 1
- Duplicated notes after git commit --amend HOT 11
- Improve closing tasks command
- warn when creating a branch name which matches an existing tag HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtm.