Mailing List Archive

[Bricolage #192] Add '--recurse' option to bric_republish when using '--category' flag
// Add your reply above here
==================================================
Michael Herring updated this ticket at July 29th, 2010 @ 12:18 PM

bric_republish should have a '--recurse' option which can be used in conjunction with '--category' to allow republishes of large areas of a site. This would automatically republish all assets in every sub category of the '--category' value passed into bric_republish.

Currently, you can republish an entire site or a specific category but not a major branch of a site.
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/192-add-recurse-option-to-bric_republish-when-using-category-flag
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/192-add-recurse-option-to-bric_republish-when-using-category-flag/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com
[Bricolage #192] Add '--recurse' option to bric_republish when using '--category' flag [ In reply to ]
// Add your reply above here
==================================================
phillipadsmith updated this ticket at July 29th, 2010 @ 02:06 PM

"bric_republish should have a '--recurse' option which can be used in conjunction with '--category' to allow republishes of large areas of a site. This would automatically republish all assets in every sub category of the '--category' value passed into bric_republish."

I think you can use the wildcard operator for this, no? E.g. bric_soap story list_ids --search category=/category/%
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/192-add-recurse-option-to-bric_republish-when-using-category-flag
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/192-add-recurse-option-to-bric_republish-when-using-category-flag/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com
[Bricolage #192] Add '--recurse' option to bric_republish when using '--category' flag [ In reply to ]
// Add your reply above here
==================================================
Michael Herring updated this ticket at July 30th, 2010 @ 01:32 PM

We tried the following command without success. Is this the proper way to pass the wildcard?

bric_republish --server https://our.server.name --username username --password password --priority 5 --chunks 1 --category '/academics/departments/mathcs/%'

Assets in the sub-category '/academics/departments/mathcs/alumni/' were not republished.

NOTE: we are using a patched bric_republish with the priority patches from trunk but do not believe this is affecting how assets are selected.
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/192-add-recurse-option-to-bric_republish-when-using-category-flag
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/192-add-recurse-option-to-bric_republish-when-using-category-flag/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com
[Bricolage #192] Add '--recurse' option to bric_republish when using '--category' flag [ In reply to ]
// Add your reply above here
==================================================
theory updated this ticket at July 30th, 2010 @ 06:16 PM
* Milestone changed from "" to "Future"
No. bric_republish is pretty limited. Try bric_soap:

bric_soap story list --search 'category_uri=/academics/departments/mathcs/%' \
bric_soap workflow publish -

That is, use `story list` to search for story IDs, and then `workflow publish` to publish those stories.

Best,

David
--------------------------------------------------------------------------------

Assigned: Bugs (at bricolage)
State: new
Milestone: Future
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/192-add-recurse-option-to-bric_republish-when-using-category-flag
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/192-add-recurse-option-to-bric_republish-when-using-category-flag/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com