foundrycf / fpm

a package manager for foundry
http://fpmcf.org/
4 stars 2 forks source link

Currently has an infinite loop when resolving the fpm-test-module package. #9

Closed jfrux closed 12 years ago

jfrux commented 12 years ago

It looks pretty damn cool though while it's resolving until you realize it's infinitely downloading / resolving dependencies /cloning etc.... :D

I've messed the binding up somewhere...

jfrux commented 12 years ago

Sample of the resolve() output of a package and it's dependencies... Not all of this info will be in the final output... This is the last bit of the output... the duped Running command... are a result of the event binding issue. I think I chose to do a regular bind instead of a bind once :D

Cloning... git://github.com/joshuairl/fpm-test-module.git
Caching... git://github.com/joshuairl/fpm-test-module.git
Running command...
Caching... done.
Fetching... fpm-test-module
Version check...
Fetch... C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
copying C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
tmp path: 'C:\Users\newuser\AppData\Local\Temp\tmp-F5F51CC4-8CFA-44E7-A18D73CA91
6A0197'
Loading Foundry.json...
endpoint: gitPlain
matches: {'1':'git://github.com/slamkajs/mkdirp.git','0':'git://github.com/slamk
ajs/mkdirp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/rimraf.git','0':'git://github.com/josh
uairl/rimraf.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/russplaysguitar/UnderscoreCF.git','0':'git://git
hub.com/russplaysguitar/UnderscoreCF.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/tmp.git','0':'git://github.com/joshuai
rl/tmp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/semver.git','0':'git://github.com/josh
uairl/semver.git'}
Cloning... git://github.com/joshuairl/fpm-test-module.git
Caching... git://github.com/joshuairl/fpm-test-module.git
Running command...
Caching... done.
Fetching... fpm-test-module
Version check...
Fetch... C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
copying C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
tmp path: 'C:\Users\newuser\AppData\Local\Temp\tmp-AFF848EC-2C50-45B4-AF3676FDD7
91A79C'
Loading Foundry.json...
endpoint: gitPlain
matches: {'1':'git://github.com/slamkajs/mkdirp.git','0':'git://github.com/slamk
ajs/mkdirp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/rimraf.git','0':'git://github.com/josh
uairl/rimraf.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/russplaysguitar/UnderscoreCF.git','0':'git://git
hub.com/russplaysguitar/UnderscoreCF.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/tmp.git','0':'git://github.com/joshuai
rl/tmp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/semver.git','0':'git://github.com/josh
uairl/semver.git'}
Cloning... git://github.com/joshuairl/fpm-test-module.git
Caching... git://github.com/joshuairl/fpm-test-module.git
Running command...
Caching... done.
Fetching... fpm-test-module
Version check...
Fetch... C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
copying C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
tmp path: 'C:\Users\newuser\AppData\Local\Temp\tmp-51326BA2-8A20-43EC-A6E205DD84
30E786'
Loading Foundry.json...
endpoint: gitPlain
matches: {'1':'git://github.com/slamkajs/mkdirp.git','0':'git://github.com/slamk
ajs/mkdirp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/rimraf.git','0':'git://github.com/josh
uairl/rimraf.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/russplaysguitar/UnderscoreCF.git','0':'git://git
hub.com/russplaysguitar/UnderscoreCF.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/tmp.git','0':'git://github.com/joshuai
rl/tmp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/semver.git','0':'git://github.com/josh
uairl/semver.git'}
Cloning... git://github.com/joshuairl/fpm-test-module.git
Caching... git://github.com/joshuairl/fpm-test-module.git
Running command...
Caching... done.
Fetching... fpm-test-module
Version check...
Fetch... C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
copying C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
tmp path: 'C:\Users\newuser\AppData\Local\Temp\tmp-39879697-3F2C-485D-8456096B3F
756AFA'
Loading Foundry.json...
endpoint: gitPlain
matches: {'1':'git://github.com/slamkajs/mkdirp.git','0':'git://github.com/slamk
ajs/mkdirp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/rimraf.git','0':'git://github.com/josh
uairl/rimraf.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/russplaysguitar/UnderscoreCF.git','0':'git://git
hub.com/russplaysguitar/UnderscoreCF.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/tmp.git','0':'git://github.com/joshuai
rl/tmp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/semver.git','0':'git://github.com/josh
uairl/semver.git'}
Cloning... git://github.com/joshuairl/fpm-test-module.git
Caching... git://github.com/joshuairl/fpm-test-module.git
Running command...
Caching... done.
Fetching... fpm-test-module
Version check...
Fetch... C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
copying C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
tmp path: 'C:\Users\newuser\AppData\Local\Temp\tmp-C7AF2264-05B0-4321-971C353E5A
18071A'
Loading Foundry.json...
endpoint: gitPlain
matches: {'1':'git://github.com/slamkajs/mkdirp.git','0':'git://github.com/slamk
ajs/mkdirp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/rimraf.git','0':'git://github.com/josh
uairl/rimraf.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/russplaysguitar/UnderscoreCF.git','0':'git://git
hub.com/russplaysguitar/UnderscoreCF.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/tmp.git','0':'git://github.com/joshuai
rl/tmp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/semver.git','0':'git://github.com/josh
uairl/semver.git'}
Cloning... git://github.com/joshuairl/fpm-test-module.git
Caching... git://github.com/joshuairl/fpm-test-module.git
Running command...
Caching... done.
Fetching... fpm-test-module
ERROR: string (foundry) warning: possible EventEmitter memory leak detected. %d
listeners added. Use emitter.setMaxListeners() to increase limit.
Version check...
ERROR: string (foundry) warning: possible EventEmitter memory leak detected. %d
listeners added. Use emitter.setMaxListeners() to increase limit.
Fetch... C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
copying C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
tmp path: 'C:\Users\newuser\AppData\Local\Temp\tmp-BD65D3E5-479F-4F77-9E7F560273
249706'
Loading Foundry.json...
endpoint: gitPlain
matches: {'1':'git://github.com/slamkajs/mkdirp.git','0':'git://github.com/slamk
ajs/mkdirp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/rimraf.git','0':'git://github.com/josh
uairl/rimraf.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/russplaysguitar/UnderscoreCF.git','0':'git://git
hub.com/russplaysguitar/UnderscoreCF.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/tmp.git','0':'git://github.com/joshuai
rl/tmp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/semver.git','0':'git://github.com/josh
uairl/semver.git'}
Cloning... git://github.com/joshuairl/fpm-test-module.git
Caching... git://github.com/joshuairl/fpm-test-module.git
Running command...
Caching... done.
Fetching... fpm-test-module
Version check...
Fetch... C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
Running command...
copying C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
tmp path: 'C:\Users\newuser\AppData\Local\Temp\tmp-4127B243-BA2E-4C48-8CA14A4C0D
85D4B9'
Loading Foundry.json...
endpoint: gitPlain
matches: {'1':'git://github.com/slamkajs/mkdirp.git','0':'git://github.com/slamk
ajs/mkdirp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/rimraf.git','0':'git://github.com/josh
uairl/rimraf.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/russplaysguitar/UnderscoreCF.git','0':'git://git
hub.com/russplaysguitar/UnderscoreCF.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/tmp.git','0':'git://github.com/joshuai
rl/tmp.git'}
endpoint: gitPlain
matches: {'1':'git://github.com/joshuairl/semver.git','0':'git://github.com/josh
uairl/semver.git'}
Cloning... git://github.com/joshuairl/fpm-test-module.git
Caching... git://github.com/joshuairl/fpm-test-module.git
Running command...
Caching... done.
Fetching... fpm-test-module
Version check...
Fetch... C:\Users\newuser\AppData\Roaming\foundry-cache\fpm-test-module
Running command...
Running command...
Running command...
Running command...
Terminate batch job (Y/N)?
jfrux commented 12 years ago

Closing this, I'm leaning towards removing all of the shitty binding stuff and trying it again in a more raw fashion until I get a feel for how CF is actually going to take to my emitter.cfc. Not sure if it's a good fit just yet...