Skip to content

Commit 4accf4c

Browse files
authored
Merge pull request #417 from rstudio/bcwu-fix-write-manifest-extra
fix extra files not being included in write-manifest
2 parents 6edf6ec + 7a46fde commit 4accf4c

File tree

3 files changed

+9
-20
lines changed

3 files changed

+9
-20
lines changed

CHANGELOG.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,22 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6-
## Unreleased
6+
## [1.17.0] - 2023-XX-XX
77

88
### Added
99
- `deploy html` and `deploy manifest` now support deployment to Posit Cloud.
1010

11+
- Added `system caches list` and `system caches delete` commands which allow administrators to enumerate and delete R and Python runtime caches from Connect servers [#384](https://github.com/rstudio/rsconnect-python/pull/384). Read more about the feature in our [docs](https://docs.posit.co/connect/admin/server-management/runtime-caches/).
12+
1113
### Changed
1214
- Cloud deployments accept the content id instead of application id in the --app-id field.
1315
- The `app_id` field in application store files also stores the content id instead of the application id.
1416
- Application store files include a `version` field, set to 1 for this release.
1517

16-
## Unreleased
17-
18-
### Fixed
19-
- getdefaultlocale deprecated
20-
21-
## Unreleased
22-
2318
### Fixed
24-
25-
- cacert read error when adding/updating a server.
26-
27-
## Unreleased
28-
29-
### Added
30-
- Added `system caches list` and `system caches delete` commands which allow administrators to enumerate and delete R and Python runtime caches from Connect servers.
19+
- cacert read error when adding/updating a server [#403](https://github.com/rstudio/rsconnect-python/issues/403).
20+
- getdefaultlocale no longer work with newer versions of Python [#397](https://github.com/rstudio/rsconnect-python/issues/397) [#399](https://github.com/rstudio/rsconnect-python/issues/399).
21+
- extra files not being included in write-manifest [#416](https://github.com/rstudio/rsconnect-python/issues/416).
3122

3223
## [1.16.0] - 2023-03-27
3324

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ A full description on how to use `rsconnect bootstrap` in a provisioning workflo
10041004
10051005
## Server Administration Tasks
10061006
1007-
Starting with the 2023.04 edition of Posit Connect, `rsconnect-python` can be
1007+
Starting with the 2023.05 edition of Posit Connect, `rsconnect-python` can be
10081008
used to perform certain server administration tasks, such as instance managing
10091009
runtime caches. For more information on runtime caches in Posit Connect, see the
10101010
Connect Admin Guide's section on [runtime
@@ -1015,6 +1015,7 @@ server information. See [Managing Server
10151015
Information](#managing-server-information) above for more details.
10161016
10171017
### Enumerate Runtime Caches
1018+
*New in Connect 2023.05*
10181019
10191020
Use the command below to enumerate runtime caches on a Connect server. The
10201021
command will output a JSON object containing a list of runtime caches . Each
@@ -1059,6 +1060,7 @@ rsconnect system caches list --name myserver
10591060
> of names.
10601061
10611062
### Delete Runtime Caches
1063+
*New in Connect 2023.05*
10621064
10631065
When Connect's execution environment changes, runtime caches may be invalidated.
10641066
In these cases, you will need to delete the affected runtime caches using the

rsconnect/main.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,6 @@ def write_manifest_notebook(
14361436
validate_file_is_notebook(file)
14371437

14381438
base_dir = dirname(file)
1439-
extra_files = validate_extra_files(base_dir, extra_files)
14401439
manifest_path = join(base_dir, "manifest.json")
14411440

14421441
if exists(manifest_path) and not overwrite:
@@ -1536,7 +1535,6 @@ def write_manifest_voila(
15361535
set_verbosity(verbose)
15371536
with cli_feedback("Checking arguments"):
15381537
base_dir = dirname(path)
1539-
extra_files = validate_extra_files(base_dir, extra_files)
15401538
manifest_path = join(base_dir, "manifest.json")
15411539

15421540
if exists(manifest_path) and not overwrite:
@@ -1646,7 +1644,6 @@ def write_manifest_quarto(
16461644
base_dir = dirname(file_or_directory)
16471645

16481646
with cli_feedback("Checking arguments"):
1649-
extra_files = validate_extra_files(base_dir, extra_files)
16501647
manifest_path = join(base_dir, "manifest.json")
16511648

16521649
if exists(manifest_path) and not overwrite:
@@ -1820,7 +1817,6 @@ def _write_framework_manifest(
18201817

18211818
with cli_feedback("Checking arguments"):
18221819
entrypoint = validate_entry_point(entrypoint, directory)
1823-
extra_files = validate_extra_files(directory, extra_files)
18241820
manifest_path = join(directory, "manifest.json")
18251821

18261822
if exists(manifest_path) and not overwrite:

0 commit comments

Comments
 (0)