basic-memory 0.4.1__py3-none-any.whl → 0.4.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of basic-memory might be problematic. Click here for more details.

basic_memory/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """basic-memory - Local-first knowledge management combining Zettelkasten with knowledge graphs"""
2
2
 
3
- __version__ = "0.4.1"
3
+ __version__ = "0.4.2"
basic_memory/db.py CHANGED
@@ -137,8 +137,14 @@ async def run_migrations(app_config: ProjectConfig, database_type=DatabaseType.F
137
137
  # Get the absolute path to the alembic directory relative to this file
138
138
  alembic_dir = Path(__file__).parent / "alembic"
139
139
  config = Config()
140
+
141
+ # Set required Alembic config options programmatically
140
142
  config.set_main_option("script_location", str(alembic_dir))
141
- config.set_main_option("sqlalchemy.url", "driver://user:pass@localhost/dbname")
143
+ config.set_main_option("file_template",
144
+ "%%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s")
145
+ config.set_main_option("timezone", "UTC")
146
+ config.set_main_option("revision_environment", "false")
147
+ config.set_main_option("sqlalchemy.url", DatabaseType.get_db_url(app_config.database_path, database_type))
142
148
 
143
149
  command.upgrade(config, "head")
144
150
  logger.info("Migrations completed successfully")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: basic-memory
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Local-first knowledge management combining Zettelkasten with knowledge graphs
5
5
  Project-URL: Homepage, https://github.com/basicmachines-co/basic-memory
6
6
  Project-URL: Repository, https://github.com/basicmachines-co/basic-memory
@@ -1,6 +1,6 @@
1
- basic_memory/__init__.py,sha256=2cRKgLU6pxU7UGIk0ISBR4M8QSEQY1sWg26LKqHmX1Y,122
1
+ basic_memory/__init__.py,sha256=e_RMXA0g5gQrbLaOAdA74wXg8hcLsJRR2I7OzBlAR-4,122
2
2
  basic_memory/config.py,sha256=PZA2qgwKACvKfRcM3H-BPB_8FYVhgZAwTmlKJ3ROfhU,1643
3
- basic_memory/db.py,sha256=kFCPOzf4bUiW7E_7E6JEHcrVaQuUgdHXkNnh6-Fk_Kg,4891
3
+ basic_memory/db.py,sha256=GqmKMn9i8m-QhjYesFuB-kQ3BJ5bqr1FDGgGvDBIHDw,5256
4
4
  basic_memory/deps.py,sha256=UzivBw6e6iYcU_8SQ8LNCmSsmFyHfjdzfWvnfNzqbRc,5375
5
5
  basic_memory/file_utils.py,sha256=gp7RCFWaddFnELIyTc1E19Rk8jJsrKshG2n8ZZR-kKA,5751
6
6
  basic_memory/utils.py,sha256=HiLorP5_YCQeNeTcDqvnkrwY7OBaFRS3i_hdV9iWKLs,2374
@@ -74,8 +74,8 @@ basic_memory/sync/file_change_scanner.py,sha256=4whJej6t9sxwUp1ox93efJ0bBHSnAr6S
74
74
  basic_memory/sync/sync_service.py,sha256=nAOX4N90lbpRJeq5tRR_7PYptIoWwhXMUljE7yrneF4,7087
75
75
  basic_memory/sync/utils.py,sha256=wz1Fe7Mb_M5N9vYRQnDKGODiMGcj5MEK16KVJ3eoQ9g,1191
76
76
  basic_memory/sync/watch_service.py,sha256=CtKBrP1imI3ZSEgJl7Ffi-JZ_oDGKrhiyGgs41h5QYI,7563
77
- basic_memory-0.4.1.dist-info/METADATA,sha256=y13i0kzJZW19UFRHvatQcxkOwHkAqaLT0x0HmunnFwM,10791
78
- basic_memory-0.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
79
- basic_memory-0.4.1.dist-info/entry_points.txt,sha256=IDQa_VmVTzmvMrpnjhEfM0S3F--XsVGEj3MpdJfuo-Q,59
80
- basic_memory-0.4.1.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
81
- basic_memory-0.4.1.dist-info/RECORD,,
77
+ basic_memory-0.4.2.dist-info/METADATA,sha256=ss1j5v8tF4WUI1OyAWaCVvkXqXIIiXZqXQX9iNwjvBw,10791
78
+ basic_memory-0.4.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
79
+ basic_memory-0.4.2.dist-info/entry_points.txt,sha256=IDQa_VmVTzmvMrpnjhEfM0S3F--XsVGEj3MpdJfuo-Q,59
80
+ basic_memory-0.4.2.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
81
+ basic_memory-0.4.2.dist-info/RECORD,,