On Thu, May 03, 2001 at 12:30:35AM +0200, Tarjei Huse wrote:
> Ok. But what should I do when aasgard seems to have taken up my "id space"
> and I cannot find the page? :( Tarjei
You can get all GUIDs for Midgard's system sites (Asgard, old Admin Site,
old Example Site) by running next little script against
Asgard-1.4.1.xml.gz:

gzip -cd Asgard-1.4.1.xml.gz | grep " id=" | \
sed -e "s/id=[\\"']\\([^\\"'].*\\)[\\"']/\\1/"


I can be wrong with number of backslashes but actually almost the same
construct we are using in cvS:/midgard/data/dbinstall.in

> 
> > -----Original Message-----
> > From: Alexander Bokovoy [mailto:[EMAIL PROTECTED]]
> > Sent: 3. mai 2001 00:09
> > To: [EMAIL PROTECTED]
> > Subject: Re: [midgard-user] importing old sites into midgard.
> >
> >
> > On Wed, May 02, 2001 at 10:37:56PM +0200, Emiliano wrote:
> > > Tarjei Huse wrote:
> > >
> > > > I have stuggled quite long with the problem of moving my
> > old site to 1.4.1.
> > > > I'm now having bigtime problems with repliguard. One of
> > the problems is that
> > > > it seems that pages with ids that are lower than the ones
> > already in the db
> > > > are not added. Thus I loose a lot of pages because the
> > admin sties are
> > > > larger today than when I started making my site.
> > >
> > > Alexander, could this be something with pre-guid sites being in the
> > > database? If so, repligard can generate them, right?
> > Yes, repligard can regenerate guids.
> >
> > --
> > Sincerely yours, Alexander Bokovoy
> >   The Midgard Project    | ALT  Linux  Team | Minsk Linux Users Group
> >  www.midgard-project.org | www.altlinux.ru  |    www.minsk-lug.net
> > -- You won't skid if you stay in a rut.
> >             -- Frank Hubbard
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project    | ALT  Linux  Team | Minsk Linux Users Group
 www.midgard-project.org | www.altlinux.ru  |    www.minsk-lug.net 
-- You won't skid if you stay in a rut.
                -- Frank Hubbard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to