lncm / lncm/docker-base

Opentimestamps timestamper

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

After #10 is done, create an image that allows to timestamp git tags without effectively locking the ability to create commits on said machine in the meantime.

Do it by:
1. volume to source directory
1. volume to host git configuration
1. volume to host gpg key
1. `.gitconfig` contains:
```ini

[gpg]
program = /path/to/opentimestamps-client/ots-git-gpg-wrapper.sh
```
1. `ots-git-gpg-wrapper.sh` is modified to contain `--wait` flag
1. `entrypoint` does `git tag`
1. Creating an upgraded `git-tag` should look like:

```
docker run --rm -it \
-v "$(pwd):/src/" \
-v "${HOME}/.gitconfig:/data/.gitconfig:ro" \
-v "some paths for GPG:ro" \
lncm/ots-tag -sa 'TAG' -m 'DESC'
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Wait for issue #10, then inspect the image's entrypoint and the existing ots-git-gpg-wrapper.sh. Check how Docker volumes can expose the source directory, Git configuration, and GPG key material while allowing commits; done means the documented docker run command can create a timestamped Git tag without blocking other commits.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, git
Domain
devops, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.