Task #8708
Change the --single-id option in export:bulk and csv:export to be --single-slug instead
Status: | Verified | Start date: | 07/15/2015 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | Dan Gillean | % Done: | 0% | |
Category: | CLI tools | |||
Target version: | Release 2.3.0 | |||
Google Code Legacy ID: | Tested version: | |||
Sponsored: | No | Requires documentation: |
Description
--single-id isn't very useful because:
- you can just do the exactly same thing with --criteria="i.id=<id>" anyway
- most users aren't experienced enough to go look up record ids in mysql
I propose we just make it --single-slug instead.
Related issues
History
#1 Updated by Mike Gale almost 7 years ago
Note: must not forget to change this in finding aid generation too (which is calling --single-id from exec())
#2 Updated by Mike Gale almost 7 years ago
- Status changed from New to Code Review
- Assignee changed from Mike Gale to Mike Cantelon
#3 Updated by Mike Cantelon almost 7 years ago
- Status changed from Code Review to Feedback
- Assignee changed from Mike Cantelon to Mike Gale
This PR looks good... good change to make.
#4 Updated by Mike Gale almost 7 years ago
- Status changed from Feedback to QA/Review
- Assignee changed from Mike Gale to Dan Gillean
- Requires documentation set to Yes
#5 Updated by Mike Gale almost 7 years ago
- Category set to CLI tools
- Target version set to Release 2.3.0
#6 Updated by Dan Gillean over 6 years ago
- File export-bulk-cli.png added
- Status changed from QA/Review to Verified
Looks good!
Note for documentation: unless we address #8905 before I get around to the documentation, this task requires slightly different parameters - the user MUST specify a file name, not just a target directory, for the task to complete successfully when run using --single-slug.
For example:
php symfony export:bulk --single-slug="test-export" /path/to/my/directory
Will fail
php symfony export:bulk --single-slug="test-export" /path/to/my/directory/test-export.xml
Will succeed.
Also attaching updated screenshot of task description/help, for documentation
#7 Updated by Dan Gillean over 6 years ago
- Related to Bug #8905: export:bulk task does not give warning or error message when export run for single description without target filename added
#8 Updated by Dan Gillean over 6 years ago
- Requires documentation deleted (
Yes)