You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,24 @@ All notable changes to this project will be documented in this file.
7
7
The format is based on `Keep a
8
8
Changelog <http://keepachangelog.com/>`__.
9
9
10
+
2.4.12 - 2017-11-27
11
+
-------------------
12
+
13
+
Added
14
+
~~~~~~~~~~
15
+
* Support option for using second physical NIC on X7 Bare Metal instances (--nic-index option on 'oci compute instance attach-vnic')
16
+
* Support for Local Peering Gateway operations ('oci network local-peering-gateway')
17
+
* Support for specifying a default for the --profile option in the oci_cli_rc file
18
+
* Support create database from backup (oci db database create-from-backup)
19
+
* Support for getting archived object restore status ('oci os object restore-status') more details in sample (https://github.com/oracle/oci-cli/scripts/restore_archived_object.sh)
20
+
21
+
Changed
22
+
~~~~~~~~~~
23
+
* Help displayed via the --help/-h/-? option is now formatted like man pages found on Unix (or Unix-like) systems. To switch back to the previous way of displaying help, add `use_click_help = True` to the `OCI_CLI_SETTINGS` section of your oci_cli_rc file
24
+
10
25
2.4.11 - 2017-11-02
11
26
-------------------
27
+
12
28
Added
13
29
~~~~~~~~~~
14
30
* 'oci setup oci-cli-rc' command to generate an oci_cli_rc file with default aliases and pre-defined queries
parser_without_defaults=configparser.ConfigParser(interpolation=None, default_section=None) # Don't use DEFAULT as the default section, so this doesn't bring in any extra stuff
help='The profile in the config file to load. This profile will also be used to locate any default parameter values which have been specified in the OCI CLI-specific configuration file')
help='The profile in the config file to load. This profile will also be used to locate any default parameter values which have been specified in the OCI CLI-specific configuration file. [default: DEFAULT]')
Copy file name to clipboardExpand all lines: src/oci_cli/cli_setup.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
importclick
6
6
from .cli_rootimportcli, CLI_RC_CANNED_QUERIES_SECTION_NAME, CLI_RC_COMMAND_ALIASES_SECTION_NAME, CLI_RC_PARAM_ALIASES_SECTION_NAME
7
7
from . importcli_util
8
+
from .cli_rootimportCLI_RC_DEFAULT_LOCATION
8
9
9
10
importbase64
10
11
importhashlib
@@ -232,7 +233,7 @@ def generate_oci_config():
232
233
233
234
This command will populate the file with some default aliases and predefined queries.
234
235
""")
235
-
@click.option('--file', type=click.File(mode='a+b'), required=True, help="The file into which default aliases and predefined queries will be loaded")
236
+
@click.option('--file', default=os.path.expanduser(CLI_RC_DEFAULT_LOCATION), type=click.File(mode='a+b'), required=True, help="The file into which default aliases and predefined queries will be loaded")
0 commit comments