cern-sis / cern-sis/repo-cli

global: check that secret_file is not already changed

Open
#7 0 comments 0 reactions 1 assignee Claimed by @ParthS007 View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In all commands, if the secret file in action has already been modified in the git repo, it will loose previous data and override the file

We should avoid this, and through an error

There are two cases which rises because of the secret file change in the local machine. Warn the user and stop the repo-cli in case of:

- [x] If secret file is staged with changes
- [x] If the local repo and the github master repo is not even.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.