Just to add my 2 cents, along the same lines. I believe Richard Rodger's
2004 code of community-filiator is still working strong, I used it today on
a 5.x instance.

Communities are related through parent/child relationships. So, to move
things around, first you have to break a parent-child relationship,
followed by creating a new parent child relationship.

So, so you have the following hierarchy
A <-> L <-> Y

And wanted to make Y a child of A, you would have to break L<->Y, and then
set A<->Y
community-filiator --remove --parent L --child Y
community-filiator --set --parent A --child Y

In the real use, don't use the letter A, L, Y, but instead the handle for
each:
--parent 12345/2233 --child 12345/5566
and so on.

I could see this functionality making its way into the user interface.
(There's currently an on-going discussion planned for OR2015 next week, on
the future of UI's).

And the full command line help.
/dspace/bin/dspace community-filiator --help
usage: CommunityFiliator

 -c,--child <arg>    child community (handle or databaseID)
 -h,--help           help
 -p,--parent <arg>   parent community (handle or database ID)
 -r,--remove         remove a parent/child relationship
 -s,--set            set a parent/child relationship

establish a relationship: CommunityFiliator -s -p parentID -c childID
remove a relationship: CommunityFiliator -r -p parentID -c childID

________________
Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Thu, Jun 4, 2015 at 7:58 PM, Mary Weppler-Selear <
mweppler-sel...@ucmerced.edu> wrote:

>  I realized you can’t see the screenshots in this posting - sorry!  They
> are attached for reference.
>
>  Mary
>
>  On Jun 4, 2015, at 2:15 PM, Mary Weppler-Selear <
> mweppler-sel...@ucmerced.edu> wrote:
>
>  Hello,
>
>  Just wanted to share our success with using the community filiator
> <https://wiki.duraspace.org/display/DSDOC4x/Managing+Community+Hierarchy> in
> order to move communities and their corresponding sub communities and
> collections within the hierarchy.  We’ve found the need to do this as we
> serve additional departments.  I’ve attached screenshot showing the basic
> CLI commands:  defiliation & filiation .  Note that if you need to move a
> community to a different parent community you will need to make it into an
> orphan first (defiliation):
>
>
>  And to establish a new Parent-Child relationship (filiation):
>
>
>  Mary
>
>    On Apr 28, 2015, at 8:02 PM, Andrea Schweer <schw...@waikato.ac.nz>
> wrote:
>
>  Hi Mary,
>
> On 29/04/15 12:15, Mary Weppler-Selear wrote:
>
> I want to move a community within a hierarchy, and I’m wondering if anyone
> has information as to whether it’s best to use the community filiato
> <https://wiki.duraspace.org/display/DSDOC6x/Managing+Community+Hierarchy>r
> for doing this?  I’m using 4.x currently.  In this instance I need to move
> a sub community and its corresponding collections and items further down
> the hierarchy and within another parent sub community.  If anyone has had
> success doing this and can share their experience that would be helpful.
>
>
> This sounds like the exact use case for the community filiator. It's been
> a long time since I last used that tool, but there are no open bug reports
> for it, so why don't you give it a go and let us know what happens :) (You
> might like to do this on a test instance first if you have one, and/or back
> up your database first.)
>
> cheers,
> Andrea
>
> --
> Dr Andrea Schweer
> IRR Technical Specialist, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand
>
>
>
> --
> Dr Andrea Schweer
> IRR Technical Specialist, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand+64-7-837 9120
>
>
>  <PastedGraphic-2.tiff><PastedGraphic-3.tiff>
> ------------------------------------------------------------------------------
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to