Giter Club home page Giter Club logo

pkgmirror's People

Contributors

eko avatar mremi avatar rande avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pkgmirror's Issues

[Feature] support for rubygems

First of all: thank you! The project is awesome!
The idea of having a centralised package mirrore is splendid.

I would love to see some love for rubygems as well.

Have a nice day!

segfault on master and latest stable when mirroring Packagist

Here is the run:

pkgmirror/build/darwin-amd64-pkgmirror run -file pkgmirror.toml
Configure app
Start app lifecycle
INFO[0000] Init                                          code=packagist handler=composer server=https://packagist.org
Start HTTP Server (bind: :8765)
INFO[0000] Starting Composer Service                     code=packagist handler=composer server=https://packagist.org
INFO[0000] Starting a new sync...                        code=packagist handler=composer server=https://packagist.org
INFO[0000] Start the SSE Broker
INFO[0000] Starting SyncPackages                         action=SyncPackages code=packagist handler=composer server=https://packagist.org
INFO[0000] Loading packages.json                         action=SyncPackages code=packagist handler=composer server=https://packagist.org
INFO[0001] Loading provider information                  action=SyncPackages code=packagist handler=composer hash=664617ca8865fd21d411eb1559a93d5c4609a2203da3630d9953b219e8384f33 provider=p/provider-2015$%hash%.json server=https://packagist.org
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2d0a29]

goroutine 19 [running]:
panic(0x4617e0, 0xc4200120f0)
    /usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:500 +0x1a1
github.com/rande/pkgmirror/vendor/github.com/boltdb/bolt.(*DB).beginTx(0x0, 0xffffffffffffffff, 0xc420049960, 0x12ac5)
    rande/pkgmirror/vendor/github.com/boltdb/bolt/db.go:470 +0x29
github.com/rande/pkgmirror/vendor/github.com/boltdb/bolt.(*DB).Begin(0x0, 0xc42030a700, 0xc4208d3280, 0xc420049988, 0xe9eb)
    rande/pkgmirror/vendor/github.com/boltdb/bolt/db.go:463 +0x6e
github.com/rande/pkgmirror/vendor/github.com/boltdb/bolt.(*DB).View(0x0, 0xc420049d08, 0x0, 0x0)
    rande/pkgmirror/vendor/github.com/boltdb/bolt/db.go:610 +0x46
github.com/rande/pkgmirror/mirror/composer.(*ComposerService).SyncPackages(0xc4201a3470, 0xc42020df80, 0x1)
    rande/pkgmirror/mirror/composer/composer.go:226 +0x1083
github.com/rande/pkgmirror/mirror/composer.(*ComposerService).Serve.func1()
    rande/pkgmirror/mirror/composer/composer.go:77 +0xcd
created by github.com/rande/pkgmirror/mirror/composer.(*ComposerService).Serve
    rande/pkgmirror/mirror/composer/composer.go:85 +0x15a
DataDir = "/Users/fabien/packagist-miror/data"
CacheDir = "/Users/fabien/packagist-miror/cache"
PublicServer = "http://127.0.0.1"
InternalServer = ":8765"

[Composer]
    [Composer.packagist]
    Server = "https://packagist.org"
    Enabled = true
    Icon = "https://getcomposer.org/img/logo-composer-transparent.png"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.