Open crguezl opened 2 years ago
Compatibility between different versions of the config file?
I am going to do a backward compatibility promise when we reach 1.X version, this means that after that release we will be able to do changes as long as they don't break something. I think this is the best approach for me as the developer and for the plugin developers. With a unique configuration file, it is too easy to fall into a diamond dependency problem.
I prefer you make a folder config/config.json that is an image of the config repo (i.e. is a local repo from user/gh-edu-profile).
I am sorry you are right, we have already talked about this. I will notify you when it is finished.
It says Remote config file detected but I have deleted my config repo
I will look into it, thanks for the issue
Since I am changing the configuration file system, what do you think(@crguezl ) if the configuration file is renamed: config.json
-> data.json
If we think about, it is no longer just a mere configuration file, but it also has cache and data from plugins.
Agree 👍
You can try now the new system, but "view" and "data" plugins are not updated yet, and I have to include this changes in the documentation Now it creates a directory called "data" which is under version control with git. inside of it there is data.json
Cuando lo pruebe te digo
I pulled the repo (27/06/2022) and installed using a link (
gh extension install .
)Then I did:
Which is because I had already a tuned profile repo, but not compatible with the
gh-edu
current version. That leads to a couple of questions:I noticed the file
config.json
is a plain file downloaded from mygh-edu
repo, but there is no way to track from what repo was obtained. I prefer you make a folderconfig/config.json
that is an image of the config repo (i.e. is a local repo fromuser/gh-edu-profile
).So I decided to remove my
gh-edu-profile
user repo at GitHub and try it again, remove the extensionand install gh-edu again, this time without the link:
but the problem repeats:
It says
Remote config file detected
but I have deleted my config repo and also the error saysCould not resolve to a Repository with the name 'crguezl/gh-edu-profile'
that I guess is normal, since the repo no longer exists. It does not creates the repo in case it doesn't exist?