Johnnybgoode 1.2.0 is HERE!

Hey folks! I’ve made some improvements to my little brainchild, johnnybgoode

New in this version:
Better error messages! A few users here had struggles with getting set up, but this will make things much easier, when something goes wrong, it will tell you what caused it!
Environment variable support! Set a JOHNNYBGOODE_CONFIG_PATH variable to point to an alternate location for the config file - helpful for testing and development!

Let me know if you have any questions, and enjoy the new version!

2 Likes

I have tried this out more than a little and it doesn’t seem to work the way I expect it to at any rate

…11.81\ Goals\ \&\ dreams/                                             
11.82\ Hobbies\ \&\ learning/                                         
11.83\ My\ library/                                                   

/notes/soumatou
% johnnybgoode export Filed/10-19\ Life\ admin/11\ 🙋\ Me\ \&\ other\ living\ things/11.12\ Passports,\ residency,\ \&\ citizenship/11.12\ Passports,\ residency,\ \&\ citizenship.md 
[ FATL ]: Unexpected failure: Error JBG-1001
[ INFO ]: "This most likely means that an incorrectly named folder exists at the ID level."

/notes/soumatou
% cat ~/.config/johnnybgoode/config.yml                 
johnnydecimal_home: "/notes/soumatou/Filed" # An absolute path to the top folder of a JohnnyDecimal structure
name_scheme: ACID # Can be ACID or DACID (12.34 vs M12.34)

/notes/soumatou
% echo $JOHNNYBGOODE_CONFIG_PATH                                        
/Users/emory/.config/johnnybgoode/config.yml

/notes/soumatou

jump 11.83 doesn’t work either but does pushd back into my home directory.

idk what i’m doing wrong.

Hmm, okay.

Can you confirm that there is NOT any folder inside a category folder which doesn’t have the identifier? The tool is walking directories and pulling that JD ID out of the folder path using a regex, if it encounters a folder where that ID doesn’t exist in a way where the regex can match it, it throws the 1001 error. I had this once and it took me a while to find it, I ended up using regex to figure out what the bad path was.