oracle / oracle/oci-cli

Location of file "suggestion_variable.txt"

Open
#779 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

The file "suggestion_variable.txt" is located and updated after the first interactive session in directory /oracle.

This implies that when using the container version of OCI CLI the update of that file in print_suggestion_message() is not saved. Thus the prompt message defined in utils.py is shown in every session, not just the first session.

Solution is to store that file in /oracle/.oci or have a flag to show it or not in the config file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with utils.py and the print_suggestion_message() path, then check where suggestion_variable.txt is created or updated after the first interactive session. Compare the container's /oracle location with /oracle/.oci and the config-file behavior; done means the prompt is not repeated in later sessions and the chosen persistence or configuration approach is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.