Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

support for virtual environments

Đang mở
#95 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@sciabarracom đang làm issue này rồi.

Từ ngày 8/1/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Why you need it?

Currently there is only one global environment so you can be logged into one system at a time, and you have only one ~/.ops with its plugins

I want to add support to have multiple virtual environments

How it could be?

A virtual environent is (or should be) entirely defined by 2 variables

  • OPS_HOME that sets the location of ~/.ops
  • WSK_CONFIG_FILE that sets the location of the ~/.wskprops

It could be as simple as to check if in current directlry there is a .ops and in such a case to set OPS_HOME to the current directory and WSK_CONFIG_FILE to $OPS_HOME/.wskprops

Also it is useful to add a simple: ops -venv that will create a .ops and execute an update downloading in it task and prereqs.

Other related information

Check there are not somewhere implicit assumptions of ~/.ops in the task and the code that can break this new logic.
Update documentation.

Ngôn ngữ chính
Python
Star
576
Fork
29
Merge trung bình
51 phút
Pull request đã merge (30 ngày)
14

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/openserverless

Tất cả issue của apache/openserverless

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.