mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-27 02:26:25 +00:00
2d202cec07
* vendor: Add bimg image processing library bimg is MIT licensed. It depends on the C library libvips which is LGPL v2.1+ licensed. libvips must be installed separately. * mediaapi: Add YAML config file support * mediaapi: Add thumbnail support * mediaapi: Add missing thumbnail files * travis: Add ppa and install libvips-dev * travis: Another ppa and install libvips-dev attempt * travis: Add sudo: required for sudo apt* usage * mediaapi/thumbnailer: Make comparison code more readable * mediaapi: Simplify logging of thumbnail properties * mediaapi/thumbnailer: Rename metrics to fitness Metrics is used in the context of monitoring with Prometheus so renaming to avoid confusion. * mediaapi/thumbnailer: Use math.Inf() for max aspect and size * mediaapi/thumbnailer: Limit number of parallel generators Fall back to selecting from already-/pre-generated thumbnails or serving the original. * mediaapi/thumbnailer: Split bimg code into separate file * vendor: Add github.com/nfnt/resize pure go image scaler * mediaapi/thumbnailer: Add nfnt/resize thumbnailer * travis: Don't install libvips-dev via ppa * mediaapi: Add notes to README about resizers * mediaapi: Elaborate on scaling libs in README
254 lines
7.9 KiB
Plaintext
254 lines
7.9 KiB
Plaintext
{
|
|
"version": 0,
|
|
"dependencies": [
|
|
{
|
|
"importpath": "github.com/Shopify/sarama",
|
|
"repository": "https://github.com/Shopify/sarama",
|
|
"revision": "574d3147eee384229bf96a5d12c207fe7b5234f3",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/Sirupsen/logrus",
|
|
"repository": "https://github.com/Sirupsen/logrus",
|
|
"revision": "61e43dc76f7ee59a82bdf3d71033dc12bea4c77d",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/beorn7/perks/quantile",
|
|
"repository": "https://github.com/beorn7/perks",
|
|
"revision": "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9",
|
|
"branch": "master",
|
|
"path": "/quantile"
|
|
},
|
|
{
|
|
"importpath": "github.com/davecgh/go-spew/spew",
|
|
"repository": "https://github.com/davecgh/go-spew",
|
|
"revision": "346938d642f2ec3594ed81d874461961cd0faa76",
|
|
"branch": "master",
|
|
"path": "/spew"
|
|
},
|
|
{
|
|
"importpath": "github.com/eapache/go-resiliency/breaker",
|
|
"repository": "https://github.com/eapache/go-resiliency",
|
|
"revision": "b86b1ec0dd4209a588dc1285cdd471e73525c0b3",
|
|
"branch": "master",
|
|
"path": "/breaker"
|
|
},
|
|
{
|
|
"importpath": "github.com/eapache/go-xerial-snappy",
|
|
"repository": "https://github.com/eapache/go-xerial-snappy",
|
|
"revision": "bb955e01b9346ac19dc29eb16586c90ded99a98c",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/eapache/queue",
|
|
"repository": "https://github.com/eapache/queue",
|
|
"revision": "44cc805cf13205b55f69e14bcb69867d1ae92f98",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/golang/protobuf/proto",
|
|
"repository": "https://github.com/golang/protobuf",
|
|
"revision": "8ee79997227bf9b34611aee7946ae64735e6fd93",
|
|
"branch": "master",
|
|
"path": "/proto"
|
|
},
|
|
{
|
|
"importpath": "github.com/golang/snappy",
|
|
"repository": "https://github.com/golang/snappy",
|
|
"revision": "7db9049039a047d955fe8c19b83c8ff5abd765c7",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/gorilla/context",
|
|
"repository": "https://github.com/gorilla/context",
|
|
"revision": "08b5f424b9271eedf6f9f0ce86cb9396ed337a42",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/gorilla/mux",
|
|
"repository": "https://github.com/gorilla/mux",
|
|
"revision": "392c28fe23e1c45ddba891b0320b3b5df220beea",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/klauspost/crc32",
|
|
"repository": "https://github.com/klauspost/crc32",
|
|
"revision": "cb6bfca970f6908083f26f39a79009d608efd5cd",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/lib/pq",
|
|
"repository": "https://github.com/lib/pq",
|
|
"revision": "a6657b2386e9b8be76484c08711b02c7cf867ead",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/matrix-org/dugong",
|
|
"repository": "https://github.com/matrix-org/dugong",
|
|
"revision": "193b8f88e381d12f2d53023fba25e43fc81dc5ac",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/matrix-org/gomatrix",
|
|
"repository": "https://github.com/matrix-org/gomatrix",
|
|
"revision": "27ae91d1b3a3be1d83864c6c4dc38c2297f11aae",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/matrix-org/gomatrixserverlib",
|
|
"repository": "https://github.com/matrix-org/gomatrixserverlib",
|
|
"revision": "b1dfcb3b345cc8410f1a03fec0a1ffe6bd002dcd",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/matrix-org/util",
|
|
"repository": "https://github.com/matrix-org/util",
|
|
"revision": "53326ed5598b226681112cbd441f59f3cffc9c82",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/matttproud/golang_protobuf_extensions/pbutil",
|
|
"repository": "https://github.com/matttproud/golang_protobuf_extensions",
|
|
"revision": "c12348ce28de40eed0136aa2b644d0ee0650e56c",
|
|
"branch": "master",
|
|
"path": "/pbutil"
|
|
},
|
|
{
|
|
"importpath": "github.com/nfnt/resize",
|
|
"repository": "https://github.com/nfnt/resize",
|
|
"revision": "891127d8d1b52734debe1b3c3d7e747502b6c366",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/pierrec/lz4",
|
|
"repository": "https://github.com/pierrec/lz4",
|
|
"revision": "5c9560bfa9ace2bf86080bf40d46b34ae44604df",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/pierrec/xxHash/xxHash32",
|
|
"repository": "https://github.com/pierrec/xxHash",
|
|
"revision": "5a004441f897722c627870a981d02b29924215fa",
|
|
"branch": "master",
|
|
"path": "/xxHash32"
|
|
},
|
|
{
|
|
"importpath": "github.com/prometheus/client_golang",
|
|
"repository": "https://github.com/prometheus/client_golang",
|
|
"revision": "c317fb74746eac4fc65fe3909195f4cf67c5562a",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/prometheus/client_model/go",
|
|
"repository": "https://github.com/prometheus/client_model",
|
|
"revision": "fa8ad6fec33561be4280a8f0514318c79d7f6cb6",
|
|
"branch": "master",
|
|
"path": "/go"
|
|
},
|
|
{
|
|
"importpath": "github.com/prometheus/common/expfmt",
|
|
"repository": "https://github.com/prometheus/common",
|
|
"revision": "dd2f054febf4a6c00f2343686efb775948a8bff4",
|
|
"branch": "master",
|
|
"path": "/expfmt"
|
|
},
|
|
{
|
|
"importpath": "github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg",
|
|
"repository": "https://github.com/prometheus/common",
|
|
"revision": "dd2f054febf4a6c00f2343686efb775948a8bff4",
|
|
"branch": "master",
|
|
"path": "/internal/bitbucket.org/ww/goautoneg"
|
|
},
|
|
{
|
|
"importpath": "github.com/prometheus/common/model",
|
|
"repository": "https://github.com/prometheus/common",
|
|
"revision": "dd2f054febf4a6c00f2343686efb775948a8bff4",
|
|
"branch": "master",
|
|
"path": "/model"
|
|
},
|
|
{
|
|
"importpath": "github.com/prometheus/procfs",
|
|
"repository": "https://github.com/prometheus/procfs",
|
|
"revision": "1878d9fbb537119d24b21ca07effd591627cd160",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/rcrowley/go-metrics",
|
|
"repository": "https://github.com/rcrowley/go-metrics",
|
|
"revision": "1f30fe9094a513ce4c700b9a54458bbb0c96996c",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/sirupsen/logrus",
|
|
"repository": "https://github.com/sirupsen/logrus",
|
|
"revision": "61e43dc76f7ee59a82bdf3d71033dc12bea4c77d",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "github.com/tj/go-debug",
|
|
"repository": "https://github.com/tj/go-debug",
|
|
"revision": "ff4a55a20a86994118644bbddc6a216da193cc13",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "golang.org/x/crypto/bcrypt",
|
|
"repository": "https://go.googlesource.com/crypto",
|
|
"revision": "0fe963104e9d1877082f8fb38f816fcd97eb1d10",
|
|
"branch": "master",
|
|
"path": "/bcrypt"
|
|
},
|
|
{
|
|
"importpath": "golang.org/x/crypto/blowfish",
|
|
"repository": "https://go.googlesource.com/crypto",
|
|
"revision": "0fe963104e9d1877082f8fb38f816fcd97eb1d10",
|
|
"branch": "master",
|
|
"path": "/blowfish"
|
|
},
|
|
{
|
|
"importpath": "golang.org/x/crypto/ed25519",
|
|
"repository": "https://go.googlesource.com/crypto",
|
|
"revision": "77014cf7f9bde4925afeed52b7bf676d5f5b4285",
|
|
"branch": "master",
|
|
"path": "/ed25519"
|
|
},
|
|
{
|
|
"importpath": "golang.org/x/net/context",
|
|
"repository": "https://go.googlesource.com/net",
|
|
"revision": "007e530097ad7f954752df63046b4036f98ba6a6",
|
|
"branch": "master",
|
|
"path": "/context"
|
|
},
|
|
{
|
|
"importpath": "gopkg.in/Shopify/sarama.v1",
|
|
"repository": "https://gopkg.in/Shopify/sarama.v1",
|
|
"revision": "0fb560e5f7fbcaee2f75e3c34174320709f69944",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "gopkg.in/airbrake/gobrake.v2",
|
|
"repository": "https://gopkg.in/airbrake/gobrake.v2",
|
|
"revision": "668876711219e8b0206e2994bf0a59d889c775aa",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "gopkg.in/gemnasium/logrus-airbrake-hook.v2",
|
|
"repository": "https://gopkg.in/gemnasium/logrus-airbrake-hook.v2",
|
|
"revision": "bfee1239d796830ca346767650cce5ba90d58c57",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "gopkg.in/h2non/bimg.v1",
|
|
"repository": "https://gopkg.in/h2non/bimg.v1",
|
|
"revision": "45f8993550e71ee7b8001d40c681c6c9fa822357",
|
|
"branch": "master"
|
|
},
|
|
{
|
|
"importpath": "gopkg.in/yaml.v2",
|
|
"repository": "https://gopkg.in/yaml.v2",
|
|
"revision": "a3f3340b5840cee44f372bddb5880fcbc419b46a",
|
|
"branch": "v2"
|
|
}
|
|
]
|
|
}
|