Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behaviour of "history" feature #19

Open
icchalmers opened this issue Apr 21, 2022 · 0 comments
Open

Unexpected behaviour of "history" feature #19

icchalmers opened this issue Apr 21, 2022 · 0 comments

Comments

@icchalmers
Copy link

I have been using the EBE via bsp-xilinx, but the issue seems better suited here.

The "history" feature is undocumented (as far as I have been able to find) and I have found it's behaviour nonintuitive:

  1. I would expect history to be stored on a per-repo basis, but it is instead always stored in ~/.ebe/{history_path}. This means history persists across repo clones, and also on complete deletion of a repo.
  2. History is not cleared on a --clean-all

I would suggest:

  1. Change the default history_path config option to be specified relative to the cloned repo OR allow specification of an absolute path
  2. Add clearing of history as part of a --clean-all, and potentially as a targeted --clean-history

history_path = os.path.expanduser("~") + "/.ebe/" + history_path + "/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant