
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Easy apk upload tasks for HockeyApp.
Add this line to your application's Gemfile:
gem 'line_change'
And then execute:
$ bundle
Or install it yourself as:
$ gem install line_change
Then add the following line to your Rakefile. If you don't have a Rakefile, just create it.
require 'line_change/tasks'
Then you should be able to run the install task:
$ rake line_change:install
Generating a new config file: /path/to/your/project/config/line_change.yml
You need to provide your API key for HockeyApp. Open config/line_change.yml
and set your API key to api_key
. Also put at least one environment you want to upload an apk to:
api_key: <your-api-key-for-HockeyApp>
apps:
staging:
app_id: <app-id-for-staging-app>
path: '/path/to/apk/file/appname-staging.apk'
production:
app_id: <app-id-for-production-app>
path: '/path/to/apk/file/appname-production.apk'
You are all set! Now you have a rake task for each environment:
$ rake -T
rake line_change:production # Uploads apk to production (app_id: <app-id-for-production-app>)
rake line_change:staging # Uploads apk to staging (app_id: <app-id-for-staging-app>)
And just execute one of the commands when you want to upload an apk file.
$ rake line_change:staging
Uploading /path/to/apk/file/appname-staging.apk to HockeyApp... Done!
Response from HockeyApp:
version : 42
shortversion : 0.4.2-42
title : Your App Name
timestamp : 123581321
appsize : 3141592
notes : <p>Build number 42</p>
mandatory : false
external : false
device_family :
id : 42
app_id : 27182
minimum_os_version : 4.2
public_url : https://rink.hockeyapp.net/apps/<app-id-for-staging-app>
build_url : https://rink.hockeyapp.net/api/2/apps/<app-id-for-staging-app>/app_versions/42?format=apk&avtoken=<some-hash-value>
config_url : https://rink.hockeyapp.net/manage/apps/27182/app_versions/42
restricted_to_tags : false
status : 2
tags : []
created_at : 2014-10-23T14:03:45Z
updated_at : 2014-10-23T14:03:46Z
You can also set a pattern to path
:
...
apps:
beta:
...
path: '/path/to/apk/file/appname-staging-*.apk'
Then LineChange will look for the most recent modified file (based on mtime) from the list of files that match the pattern.
$ rake beta
Uploading /path/to/apk/file/appname-staging-42.apk to HockeyApp...
...
You can also use LineChange without Rake. For example, you can use #install
method if you want to install LineChange programatically:
require 'line_change'
LineChange.install
It also provides #deploy
method that uploads an apk file to HockeyApp:
require 'line_change'
app_id = '<App id for production app>'
path_to_apk = '/path/to/apk/file/appname-production.apk'
LineChange.deploy(app_id, path_to_apk)
status
, notify
, notes
and notes_type
from the config.private
and dsym
(see their doc).git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Copyright © 2014 InSite Applications, LLC. See MIT-LICENSE for further details.
FAQs
Unknown package
We found that line_change demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.