Skip to content

Instantly share code, notes, and snippets.

@dubiouscript
Last active June 17, 2019 16:45
Show Gist options
  • Save dubiouscript/bf850388b51a35dffdbc09094621b483 to your computer and use it in GitHub Desktop.
Save dubiouscript/bf850388b51a35dffdbc09094621b483 to your computer and use it in GitHub Desktop.

Revisions

  1. dubiouscript revised this gist Jun 17, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions iamafi.sh
    Original file line number Diff line number Diff line change
    @@ -33,3 +33,4 @@ git --no-pager --git-dir ./tw_jermolene.github.io/.git log --pretty=format:"%ad
    # Fri Jun 14 08:33:34 2019 +0000 - Travis CI: Travis build: 268 of master (2019-06-14 08:33:34 UTC)
    # ...

    # https://learnxinyminutes.com/docs/awk/
  2. dubiouscript revised this gist Jun 17, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion iamafi.sh
    Original file line number Diff line number Diff line change
    @@ -22,11 +22,14 @@ git --git-dir ./TiddlyWiki5/.git tag --sort version:refname
    git --git-dir ./TiddlyWiki5/.git log --tags --simplify-by-decoration --pretty="format:%ai %d"
    # 2018-12-20 16:38:56 +0000 (tag: v5.1.19)

    # clone https://github.com/Jermolene/jermolene.github.io
    # Receiving objects: 100% (293488/293488), 4.42 GiB
    # big for a tiddler

    # https://stackoverflow.com/questions/37311494/how-to-get-git-to-show-commits-in-a-specified-date-range-for-author-date/42795304#42795304
    git --git-dir ./tw_jermolene.github.io/.git log --pretty=format:"%ad - %an: %s" --after="2016-01-31" --until="2017-03-10"

    git --no-pager --git-dir ./tw_jermolene.github.io/.git log --pretty=format:"%ad - %an: %s"
    # Fri Jun 14 08:33:34 2019 +0000 - Travis CI: Travis build: 268 of master (2019-06-14 08:33:34 UTC)

    # ...

  3. dubiouscript revised this gist Jun 17, 2019. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions iamafi.sh
    Original file line number Diff line number Diff line change
    @@ -20,5 +20,13 @@ git --git-dir ./TiddlyWiki5/.git tag --sort version:refname

    # https://stackoverflow.com/questions/6900328/git-command-to-show-all-lightweight-tags-creation-dates
    git --git-dir ./TiddlyWiki5/.git log --tags --simplify-by-decoration --pretty="format:%ai %d"
    # 2018-12-20 16:38:56 +0000 (tag: v5.1.19)


    # https://stackoverflow.com/questions/37311494/how-to-get-git-to-show-commits-in-a-specified-date-range-for-author-date/42795304#42795304
    git --git-dir ./tw_jermolene.github.io/.git log --pretty=format:"%ad - %an: %s" --after="2016-01-31" --until="2017-03-10"

    git --no-pager --git-dir ./tw_jermolene.github.io/.git log --pretty=format:"%ad - %an: %s"
    # Fri Jun 14 08:33:34 2019 +0000 - Travis CI: Travis build: 268 of master (2019-06-14 08:33:34 UTC)


  4. dubiouscript revised this gist Jun 17, 2019. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions iamafi.sh
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,10 @@ curl -nsSig -H 'Accept: application/vnd.github.v3+json' -H 'Content-Type: applic
    # list tag's url from reff
    curl -nsg -H 'Accept: application/vnd.github.v3+json' -H 'Content-Type: application/json' -X GET https://api.github.com/repos/Jermolene/TiddlyWiki5/git/refs/tags| jq '.[].object.url'

    # https://gist.github.com/mertenvg/92f2f1ed3746ba72fecb3b6e4afda7b6#sorted-git-tag-list.sh
    git --git-dir ./TiddlyWiki5/.git tag --sort version:refname

    # https://stackoverflow.com/questions/6900328/git-command-to-show-all-lightweight-tags-creation-dates
    git --git-dir ./TiddlyWiki5/.git log --tags --simplify-by-decoration --pretty="format:%ai %d"


  5. dubiouscript revised this gist Jun 17, 2019. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions iamafi.sh
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,9 @@ ok.sh -j list_releases Jermolene TiddlyWiki5

    ... -x $(which ok.sh) ..

    # https://github.com/go-gitea/gitea/issues/2738#API support for listing tags and fetching tag details
    # https://github.com/go-gitea/gitea/issues/2738#issuecomment-497767418

    # list tag info .. inc date
    curl -nsSig -H 'Accept: application/vnd.github.v3+json' -H 'Content-Type: application/json' -X GET https://api.github.com/repos/Jermolene/TiddlyWiki5/git/tags/6821fe4d89dd3aa6937ae772b66e0edae4bd3d2b

  6. dubiouscript revised this gist Jun 17, 2019. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions iamafi.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,11 @@

    ok.sh -j list_releases Jermolene TiddlyWiki5
    [

    ]

    ... -x $(which ok.sh) ..

    # list tag info .. inc date
    curl -nsSig -H 'Accept: application/vnd.github.v3+json' -H 'Content-Type: application/json' -X GET https://api.github.com/repos/Jermolene/TiddlyWiki5/git/tags/6821fe4d89dd3aa6937ae772b66e0edae4bd3d2b

  7. dubiouscript created this gist Jun 17, 2019.
    8 changes: 8 additions & 0 deletions iamafi.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@

    # list tag info .. inc date
    curl -nsSig -H 'Accept: application/vnd.github.v3+json' -H 'Content-Type: application/json' -X GET https://api.github.com/repos/Jermolene/TiddlyWiki5/git/tags/6821fe4d89dd3aa6937ae772b66e0edae4bd3d2b

    # list tag's url from reff
    curl -nsg -H 'Accept: application/vnd.github.v3+json' -H 'Content-Type: application/json' -X GET https://api.github.com/repos/Jermolene/TiddlyWiki5/git/refs/tags| jq '.[].object.url'