bitp 1.0.7__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.
- bitbake_project/__init__.py +88 -0
- bitbake_project/__main__.py +14 -0
- bitbake_project/cli.py +1580 -0
- bitbake_project/commands/__init__.py +60 -0
- bitbake_project/commands/branch.py +889 -0
- bitbake_project/commands/common.py +2372 -0
- bitbake_project/commands/config.py +1515 -0
- bitbake_project/commands/deps.py +903 -0
- bitbake_project/commands/explore.py +2269 -0
- bitbake_project/commands/export.py +1030 -0
- bitbake_project/commands/fragment.py +884 -0
- bitbake_project/commands/init.py +515 -0
- bitbake_project/commands/projects.py +1505 -0
- bitbake_project/commands/recipe.py +1374 -0
- bitbake_project/commands/repos.py +154 -0
- bitbake_project/commands/search.py +313 -0
- bitbake_project/commands/update.py +181 -0
- bitbake_project/core.py +1811 -0
- bitp-1.0.7.dist-info/METADATA +401 -0
- bitp-1.0.7.dist-info/RECORD +24 -0
- bitp-1.0.7.dist-info/WHEEL +5 -0
- bitp-1.0.7.dist-info/entry_points.txt +3 -0
- bitp-1.0.7.dist-info/licenses/COPYING +338 -0
- bitp-1.0.7.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (C) 2025 Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
3
|
+
#
|
|
4
|
+
# SPDX-License-Identifier: GPL-2.0-only
|
|
5
|
+
#
|
|
6
|
+
"""
|
|
7
|
+
Commands package for bit.
|
|
8
|
+
|
|
9
|
+
This package contains all command implementations:
|
|
10
|
+
- update: git pull/rebase layer repos
|
|
11
|
+
- explore: interactively explore commits
|
|
12
|
+
- export: export patches
|
|
13
|
+
- config: view and configure settings
|
|
14
|
+
- branch: view and switch branches
|
|
15
|
+
- search: search layer index
|
|
16
|
+
- init: setup build environment
|
|
17
|
+
- repos: list repositories
|
|
18
|
+
- projects: manage multiple project directories
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
# Import all run_* functions for CLI dispatch
|
|
22
|
+
from .update import run_update, run_single_repo_update
|
|
23
|
+
from .explore import run_explore, run_status
|
|
24
|
+
from .export import run_export, run_prepare_export
|
|
25
|
+
from .config import run_config, run_config_edit
|
|
26
|
+
from .branch import run_branch
|
|
27
|
+
from .search import run_search
|
|
28
|
+
from .init import run_init, run_init_shell, run_bootstrap
|
|
29
|
+
from .repos import run_repos
|
|
30
|
+
from .projects import run_projects, get_current_project, set_current_project
|
|
31
|
+
from .recipe import run_recipe
|
|
32
|
+
from .fragment import run_fragment
|
|
33
|
+
from .deps import run_deps
|
|
34
|
+
|
|
35
|
+
# Also export fzf_available for CLI
|
|
36
|
+
from ..core import fzf_available
|
|
37
|
+
|
|
38
|
+
__all__ = [
|
|
39
|
+
"run_update",
|
|
40
|
+
"run_single_repo_update",
|
|
41
|
+
"run_explore",
|
|
42
|
+
"run_status",
|
|
43
|
+
"run_export",
|
|
44
|
+
"run_prepare_export",
|
|
45
|
+
"run_config",
|
|
46
|
+
"run_config_edit",
|
|
47
|
+
"run_branch",
|
|
48
|
+
"run_search",
|
|
49
|
+
"run_init",
|
|
50
|
+
"run_init_shell",
|
|
51
|
+
"run_bootstrap",
|
|
52
|
+
"run_repos",
|
|
53
|
+
"run_projects",
|
|
54
|
+
"get_current_project",
|
|
55
|
+
"set_current_project",
|
|
56
|
+
"run_recipe",
|
|
57
|
+
"run_fragment",
|
|
58
|
+
"run_deps",
|
|
59
|
+
"fzf_available",
|
|
60
|
+
]
|