diff --git a/packageship/conf.yaml b/packageship/conf.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b4d29ee3ccb517e9a394af6d9bb0f1869ca73a4c --- /dev/null +++ b/packageship/conf.yaml @@ -0,0 +1,21 @@ +# During initialization, you can initialize multiple databases at once + +# dbname: The name of the database to be initialized +# It is recommended to use the version number as the name of the database + +# src_db_file:SQLite files related to the source package provided in the repo source + +# bin_db_file:SQLite files related to the binary package provided in the repo source + +# lifecycle:Does the imported source package data need to be stored in the life cycle database +# When you need to store in the life cycle, you need to set the value to enable +# When you do not need to store in the life cycle, you need to set the value to disable + +# priority: The priority of the database,When querying dependencies, which library is +# the first to find data the value can only be 1、 2、 3、 4 + +- dbname: $database_name + src_db_file: $path.sqlite + bin_db_file: $path.sqlite + lifecycle: enable/disable + priority: 1/2/3/4 \ No newline at end of file diff --git a/packageship/setup.py b/packageship/setup.py index 346a0c62a8ccee68e48680cf0f8dbd78e18e96d4..4ef2d4811bb53cccccff2a255a012d95352c53a5 100644 --- a/packageship/setup.py +++ b/packageship/setup.py @@ -58,6 +58,6 @@ setup( long_description=open('README.md', encoding='utf-8').read(), author='gongzt', data_files=[ - (_CONFIG_PATH, ['packageship/package.ini']), + (_CONFIG_PATH, ['packageship/package.ini', 'conf.yaml']), ('/usr/bin', ['packageship/pkgshipd', 'packageship/pkgship'])] )