Re: [Dspace-tech] Moving a community

2015-06-05 Thread Peter Dietz
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 child community (handle or databaseID)
 -h,--help   help
 -p,--parentparent community (handle or database ID)
 -r,--remove remove a parent/child relationship
 -s,--setset 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
>  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 
> 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
> 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
>
>
>  
> --
> ___
> 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

Re: [Dspace-tech] Moving a community

2015-04-30 Thread emilio lorenzo
Yes, It´s working without (known) faults in version 4. We used it in a 
couple of proyects last year.


The procedure (after backing up and/or doing some testing) for moving   
X subcommunity down into the hierarchy,  from A---> X to   A--> 
B---X  is as follows


You first have to break the filiation between community A and 
subcommunity "X" . Use -r (remove) parameter of community-filiator.   
Check that the "X" subcommunity appears now as "X" Community (first 
level), that is, orphan or top-level 
Nest step,  move  "X" Community  as sub-sub-community  on A---B 
hierarchy is acomplished with -s parameter of community filiator command


A long explanation (sorry is in spanish)   in 
http://www.arvo.es/dspace/communityfiliator-reorganizando-estructuras-de-comunidades/


best luck

Emilio



El 29/04/2015 a las 5:02, Andrea Schweer escribió:

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 
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


--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y


___
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


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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

Re: [Dspace-tech] Moving a community

2015-04-28 Thread Andrea Schweer

  
  
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
filiator  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
  


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Moving a community

2015-04-28 Thread Mary Weppler-Selear
Hello,

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 
filiator
  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.

Thank you,
Mary
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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