Ticket #400 (closed clarification: fixed)

Opened 1 year ago

Last modified 1 year ago

documentation for article_ingest article_delete tools

Reported by: russ Assigned to: russ
Priority: high Milestone:
Component: topaz Version: 0.7
Keywords: tools article_ingest article_delete Cc:
Blocking: Blocked By:

Description

[root@plosone-dev bin]# ./article_delete --help
usage: Delete [-c config-overrides.xml] article-uris ...
 -c          config-overrides.xml - overrides /etc/topaz.xml
 -h,--help   help (this message)

what's the format for article-uri? do you mean overrides /etc/topaz/plosone.xml? and do i want to create a plosone.xml with the <pdpName> elements commented out to use this?

[root@plosone-dev bin]# ./article_ingest --help
usage: Ingest [-c config-overrides.xml] zip
 -c          config-overrides.xml - overrides /etc/topaz.xml
 -h,--help   help (this message)

when would we want to override plosone.xml on ingest? will this work with the ingest files we're currently using? (we'd love to move to a command line process for this!)

Dependency Graph

Change History

(in reply to: ↑ description ) 06/18/07 16:30:44 changed by ebrown

Replying to russ:

  [root@plosone-dev bin]# ./article_delete --help
  usage: Delete [-c config-overrides.xml] article-uris ...
   -c          config-overrides.xml - overrides /etc/topaz.xml
   -h,--help   help (this message)

what's the format for article-uri?

The format would look like: info:doi/10.1371/journal.pone.0000001

See [2862].

do you mean overrides /etc/topaz/plosone.xml? and do i want to create a plosone.xml with the <pdpName> elements commented out to use this?

The reason for -c (overrides) is in case you are running the tool on a machine other than one that you want to operate on -- that is I was anticipating you might run this on plosfail01 that might have a different plosone.xml than the ones on plosone01. Anyway, it is completely optional. If /etc/topaz/plosone.xml is correct, you don't need this option.

I don't believe you need to muck with <pdpName> stuff for this to work, but I could be wrong. Anyway, you could use -c to override the <pdpName> stuff in /etc if you needed too. I'll try to find out and update this ticket.

[root@plosone-dev bin]# ./article_ingest --help when would we want to override plosone.xml on ingest? will this work with the ingest files we're currently using? (we'd love to move to a command line process for this!)

Ah, article_ingest uses the same philosophy as article_delete. The problem is that article_ingest does not create the different resolution images. So I'm not sure you'd want to use this tool yet. I have no ETA on when article_ingest would be an acceptable alternative to using the admin application.

06/18/07 17:06:00 changed by russ

  • owner changed from somebody to russ.
  • status changed from new to assigned.

great. i will test this out using the unmodified plosone.xml from the target machine.

no worry on the ingest. it would be great to do command line ingest. amit has suggested that you will separate the ingest-prep (resizing) and ingest functions which is just fine with us (if we can do it all command-line :)

06/18/07 17:22:06 changed by russ

works like a charm.

like the previous tool, it does not dirty the home.action cache on plosone (so you've got to restart plosone), which would be a nice enhancement.

06/19/07 14:32:47 changed by amit

  • milestone changed from 0.7 to TBD.

This is a much larger change and will not happen for 0.7. More probably for 0.9 time frame and we do want to make these tools standalone.

06/19/07 15:25:56 changed by russ

  • status changed from assigned to closed.
  • resolution set to fixed.

article_delete tool is working correctly, and i have the documentation i needed, so i'm closing this one. i'll open a new ticket about cache dirtying in the far future.

08/07/07 16:25:51 changed by

  • milestone deleted.

Milestone Bugs deleted