Skip to content

Commit

Permalink
Reimplement movefile ftp section validation
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandro-fazzi committed Dec 26, 2021
1 parent d7d69cb commit 3f40e94
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/wordmove/assets/wordmove_schema_global.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
type: map
mapping:
sql_adapter:
type: str
required: true
pattern: /\Awpcli\Z/
18 changes: 18 additions & 0 deletions lib/wordmove/assets/wordmove_schema_remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ mapping:
wordpress_path:
type: str
required: true
wordpress_absolute_path:
type: str
database:
type: map
required: true
Expand Down Expand Up @@ -62,6 +64,22 @@ mapping:
user:
required: true
password:
ftp:
type: map
mapping:
user:
required: true
password:
required: true
host:
required: true
passive:
type: bool
scheme:
type: str
pattern: /\Aftp\Z|\Aftps\Z|\Asftp\Z/
port:
type: int
hooks:
type: map
mapping:
Expand Down

0 comments on commit 3f40e94

Please sign in to comment.