Closed ppcano closed 9 years ago
Yeah we can work on getting it up on bower
Looks like someone added already. Have you looked at using one of these? http://bower.io/search/?q=loggly
@mostlyjason , this search only shows two angular packages angular-loggly and angular-loggly-logger, instead of this repo.
Yeah I was hoping those might work since they are wrappers for this library and already include it. It sounds like you prefer this version without angular?
On 9/24/2014 10:59 PM, Pepe Cano wrote:
@mostlyjason https://github.com/mostlyjason , this search only shows two angular packages angular-loggly https://github.com/GoAugust/angular-loggly and angular-loggly-logger https://github.com/ajbrown/angular-loggly-logger, instead of this repo.
— Reply to this email directly or view it on GitHub https://github.com/loggly/loggly-jslogger/issues/4#issuecomment-56776977.
Yes, this repository
El 25/09/2014, a las 08:31, Jason Skowronski notifications@github.com escribió:
Yeah I was hoping those might work since they are wrappers for this library and already include it. It sounds like you prefer this version without angular?
On 9/24/2014 10:59 PM, Pepe Cano wrote:
@mostlyjason https://github.com/mostlyjason , this search only shows two angular packages angular-loggly https://github.com/GoAugust/angular-loggly and angular-loggly-logger https://github.com/ajbrown/angular-loggly-logger, instead of this repo.
— Reply to this email directly or view it on GitHub <https://github.com/loggly/loggly-jslogger/issues/4#issuecomment-56776977 .
— Reply to this email directly or view it on GitHub https://github.com/loggly/loggly-jslogger/issues/4#issuecomment-56778857.
@ppcano We have added a new package loggly-jslogger. You can now use this package to deploy Loggly's jslogger using Bower.
@psquickitjayant, although the package is available for bower import, I missed a bower file which manage the library release version.
Currently the library is importing as:
"loggly-jslogger": "latest",
In this case, any new release may automatically be updated and it may break the loggly app functionality.
Please, may you manage the loggly-jslogger
release process.
@psquickitjayant ping.
May the bower.json
file be added to the repository including the current loggly-jslogger
version.
@ppcano Sure, I will add it.
You need to git tag your releases to get a versioned bower dependency.
Right now I have to use
"loggly-jslogger": "*"
instead of
"loggly-jslogger": "1.1.0"
@barlindhaug if you see latest package, it has the version.
@psquickitjayant, setup the version on the bower.json
file does NOT work
"loggly-jslogger": "2.0.0",
As @barlindhaug commented, it could be that you need to git tag your releases.
@ppcano You are right, I forgot to do that. I will take care from my next release. I am making few more changes in the library. I will make sure to tag the commit.
+1 for tagging releases, "loggly-jslogger": "*"
makes me uneasy.
:+1:
"loggly-jslogger": "#c293114921"
works in the meantime
@mostlyjason this can be closed as the library is on Bower with versions tagged.
@psquickitjayant @mostlyjason I see no versions tagged.
Here is the output from "bower info loggly-jslogger" ... No versions available.
% bower info loggly-jslogger
bower not-cached git://github.com/loggly/loggly-jslogger.git#*
bower resolve git://github.com/loggly/loggly-jslogger.git#*
bower checkout loggly-jslogger#master
bower resolved git://github.com/loggly/loggly-jslogger.git#c293114921
{
name: 'loggly-jslogger',
homepage: 'https://github.com/loggly/loggly-jslogger',
description: 'A Javascript client to send logs to Loggly.',
main: 'src/loggly.tracker.js',
keywords: [
'loggly-jslogger',
'jslogger',
'loggly',
'log'
],
authors: [
'Loggly'
],
license: 'MIT',
ignore: [
'**/.*',
'node_modules',
'bower_components',
'test',
'tests'
]
}
No versions available.
From bower's bower.json docs
version String Deprecated. Use git or svn tags instead. This field is ignored by Bower.
ping ping - would love a proper release!
@davidgovea I will update today :)
@davidgovea @ppcano @sirsgriffin @barlindhaug
Proper release tags are pushed in repo. You can see the versions now with bower info loggly-jslogger
$ bower info loggly-jslogger
bower loggly-jslogger#* cached git://github.com/loggly/loggly-jslogger.git#3.0.0
bower loggly-jslogger#* validate 3.0.0 against git://github.com/loggly/loggly-jslogger.git#*
{
name: 'loggly-jslogger',
homepage: 'https://github.com/loggly/loggly-jslogger',
version: '3.0.0',
description: 'A Javascript client to send logs to Loggly.',
main: 'src/loggly.tracker.js',
keywords: [
'loggly-jslogger',
'jslogger',
'loggly',
'log'
],
authors: [
'Loggly'
],
license: 'MIT',
ignore: [
'**/.*',
'node_modules',
'bower_components',
'test',
'tests'
]
}
Available versions:
- 3.0.0
- 2.0.0
You can request info for a specific version with 'bower info loggly-jslogger#<version>'
@psquickitjayant thank you!
also, thanks for getting full-on tags implemented recently :+1:
would it be possible that the library can be deployed with bower?