Comments (11)
Done a bit of digging, and it looks like the 'latest' files in the emborg cache directory don't include a 'size' value for the vast majority of them. I run:
emborg -c "$config" create --fast --stats
emborg -c "$config" prune --list --stats
for each emborg run. Recently, I manually ran:
emborg -v -c atom create
and this has added a 'size' entry. Does the --fast
option prevent it from doing this? I can't remember why I'm using this, but I always have.
from borg-space.
Yes, it look like it's the --fast
option.
I was using that to prevent it doing a check and prune after each create. I notice I have these disabled in my global settings file anyway, so this probably isn't necessary.
The question about it requiring a config file still stands. Is a config file required for borg-space? If so, what is the minimum that is required in it?
from borg-space.
Sorry about all this. When I went to confirm what you were seeing I found a number of other problems as well. This is an important lesson for me on the importance of an extensive set of regression tests. I am in the process of fixing all the issues and implementing the regression tests. The new version should be ready in a few days I would think. I really appreciate you digging in to this and reporting these problems.
I will look into seeing if I can make the size extraction work with the --fast option. If not, I will comment on it in the borg-space documentation.
In general, Emborg is written so that you should not need to run routinely with command line options. So if you find your self always needing to use a particular command line option, let me know and I will try to make it a configuration option.
from borg-space.
Oh, and when I am finished with this new version, a config file will not be needed, but the minimum config file you tried would also work.
from borg-space.
This issue should be fixed in the new version on github. Please give it a try and let me know how it works for you.
from borg-space.
Can confirm that I can now run borg-space without a config file present
from borg-space.
Are you planning an official release containing the recent fixes? I'll package it up for alpine once it's available.
from borg-space.
I have done a formal release. The latest version is now up on PyPI. Thanks for testing my code and pointing out its issues. And thanks for updating the Alpine repositories. I really appreciate all that you do.
I noticed that you run borg-space for every Emborg create run. One to record the latest size and once to graph the size history. That is no longer necessary. You can include the --record option on a graphing borg-space command.
from borg-space.
No problem regarding Alpine. I created the packages for purely selfish reasons, as I wanted a simple way to always be running the latest version.
Thanks for the pointer about running borg-space twice. Will update my configs.
from borg-space.
I have updated github with the release candidate for version 2.2. If it is not too much trouble would you please run your tests. Once you give me the okay, I will release to pypi.
from borg-space.
Just done that, passes the tests in their CI system. Will look out for an official release on github and update the Alpine package.
from borg-space.
Related Issues (12)
- Make 'official' release HOT 3
- Unable to get working on Alpine HOT 4
- Add option to write plot to a file HOT 5
- New version stopped working HOT 3
- Depends on emborg still? HOT 2
- Formatting of axis labels HOT 3
- Can't run borg-space in the 'run_after_backup' as it causes emborg to fail, meaning size isn't written HOT 1
- borg-space doesn't handle config containing '-' HOT 3
- New version readme needs updating HOT 1
- Seemingly random test failures HOT 12
- tests fails with pytest 8 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from borg-space.