Skip to content

Commit

Permalink
expose APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
marwaneltoukhy committed Aug 6, 2024
1 parent 153d8af commit 1a1d6e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ipm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.
from .__version__ import __version__

from .manage import install, ls, ls_remote, info, install_deps
from .manage import install, ls, ls_remote, info, install_deps, update, rm, uninstall
5 changes: 5 additions & 0 deletions ipm/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ def rm(ip_root, ip, ipm_root):
"--ip-root", required=False, default=os.path.join(os.getcwd(), "ip"), help="IP path"
)
def update_cmd(ipm_root, ip_root, ip):
"""Check for new versions of all installed IPs in project or a specific IP."""
update(ipm_root, ip_root, ip)


def update(ipm_root, ip_root, ip):
"""Check for new versions of all installed IPs in project or a specific IP."""
valid = check_ipm_directory(ipm_root)
valid_ip_dir = check_ip_root_dir(ip_root)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ipmgr"
version = "1.0.10"
version = "1.0.11"
description = "Package manager for Open Source ASIC IPs"
authors = ["Efabless Corporation <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 1a1d6e7

Please sign in to comment.