You are here: Foswiki>Tasks Web>Item12514 (21 Dec 2014, GeorgeClark)Edit Attach

Item12514: pseudoinstall EmptyPlugin from github fails

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: PseudoInstall
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
so clearly, my foswiki core is not in a dir called core and thus there's a hardcoded assumption in there that needs fixing.

I don't actually know where this checkout comes from, but the foswiki dir, which contains the pseudo-install.pl is not the core - its mostly empty. in that case, I'd like it to realise that EmptyPlugin (and BuildContrib before it, requires core, and for it to get that too.

drwxr-xr-x  4 sven sven 4096 Jan 12 17:09 .
drwxr-xr-x 16 sven sven 4096 May 28 14:59 ..
drwxr-xr-x  6 sven sven 4096 Jan 12 17:09 BuildContrib
drwxr-xr-x  3 sven sven 4096 Jan 12 17:10 foswiki
sven@quad:~/src/foswiki$ cd foswiki/
sven@quad:~/src/foswiki/foswiki$ ./pseudo-install.pl EmptyPlugin
Installing extensions: EmptyPlugin
Processing EmptyPlugin
Trying clone from git://github.com/foswiki/EmptyPlugin.git...
remote: Counting objects: 717, done.
remote: Compressing objects: 100% (404/404), done.
remote: Total 717 (delta 158), reused 612 (delta 109)
Receiving objects: 100% (717/717), 99.18 KiB | 98 KiB/s, done.
Resolving deltas: 100% (158/158), done.
Listing http://svn.foswiki.org/branches/Release01x00
Listing http://svn.foswiki.org/trunk
Listing http://svn.foswiki.org/branches/Release01x01
Listing http://svn.foswiki.org/branches/scratch
Aliasing refs/remotes/branches/Release01x00/EmptyPlugin as origin/Release01x00
   clone from SVN url http://svn.foswiki.org/branches/Release01x00/EmptyPlugin :refs/remotes/branches/Release01x00/EmptyPlugin
Aliasing refs/remotes/branches/Release01x01/EmptyPlugin as origin/Release01x01
   clone from SVN url http://svn.foswiki.org/branches/Release01x01/EmptyPlugin :refs/remotes/branches/Release01x01/EmptyPlugin
Aliasing refs/remotes/trunk/EmptyPlugin as refs/remotes/trunk &
Aliasing refs/remotes/trunk as origin/master
Cloned EmptyPlugin OK
cd: 1: can't cd to /data/home/sven/src/foswiki/foswiki/../core
It seems your 'core' checkout isn't connected to a svn repo... connecting
Aliasing refs/remotes/branches/Release01x00/core as origin/Release01x00
cd: 1: can't cd to /data/home/sven/src/foswiki/foswiki/../core
fatal: origin/Release01x00: not a valid SHA1
   clone from SVN url http://svn.foswiki.org/branches/Release01x00/core :refs/remotes/branches/Release01x00/core
cd: 1: can't cd to /data/home/sven/src/foswiki/foswiki/../core
Aliasing refs/remotes/branches/Release01x01/core as origin/Release01x01
cd: 1: can't cd to /data/home/sven/src/foswiki/foswiki/../core
fatal: origin/Release01x01: not a valid SHA1
   clone from SVN url http://svn.foswiki.org/branches/Release01x01/core :refs/remotes/branches/Release01x01/core
cd: 1: can't cd to /data/home/sven/src/foswiki/foswiki/../core
Aliasing refs/remotes/branches/scratch/core as origin/scratch
cd: 1: can't cd to /data/home/sven/src/foswiki/foswiki/../core
fatal: origin/scratch: not a valid SHA1
   clone from SVN url http://svn.foswiki.org/branches/scratch/core :refs/remotes/branches/scratch/core
cd: 1: can't cd to /data/home/sven/src/foswiki/foswiki/../core
Aliasing refs/remotes/trunk/core as refs/remotes/trunk &
Aliasing refs/remotes/trunk as origin/master
cd: 1: can't cd to /data/home/sven/src/foswiki/foswiki/../core
fatal: origin/master: not a valid SHA1
WARNING Confused by
     data -> '/data/home/sven/src/foswiki/BuildContrib/data' doesn't point to the expected place
     (should be /data/home/sven/src/foswiki/EmptyPlugin/data)
WARNING Confused by
     data -> '/data/home/sven/src/foswiki/BuildContrib/data' doesn't point to the expected place
     (should be /data/home/sven/src/foswiki/EmptyPlugin/data)
WARNING Confused by
     data -> '/data/home/sven/src/foswiki/BuildContrib/data' doesn't point to the expected place
     (should be /data/home/sven/src/foswiki/EmptyPlugin/data)
WARNING Confused by
     lib -> '/data/home/sven/src/foswiki/BuildContrib/lib' doesn't point to the expected place
     (should be /data/home/sven/src/foswiki/EmptyPlugin/lib)
WARNING Confused by
     lib -> '/data/home/sven/src/foswiki/BuildContrib/lib' doesn't point to the expected place
     (should be /data/home/sven/src/foswiki/EmptyPlugin/lib)
Linked test
 EmptyPlugin installed
sven@quad:~/src/foswiki/foswiki$ 

-- SvenDowideit - 29 May 2013

I think that this is now moot in that the distro repository includes core and all the Default and Developer extensions. No need to ever checkout core as a separate repository.

Setting to No Action.

-- GeorgeClark - 21 Dec 2014
 

ItemTemplate edit

Summary pseudoinstall EmptyPlugin from github fails
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component PseudoInstall
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r2 - 21 Dec 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy