Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
= tampon
,-------------.
(o) _ __ _____ )--.
-------------' ) ( /
---'
Tampon provides Gitflow integration with Capistrano, without unessecary restrictions to the deploy process. Our goal with tampon was to improve on capistrano-gitflow by allowing you to tag a staging release (or not tag a staging release), deploy from the HEAD of whatever branch you are on (feature, develop, hotfix, etc), and deploy to production from bonafide gitflow release tags.
== Installation
You can use the most recent tampon gem by adding it to your Gemfile:
gem 'tampon'
Or install it the old-fashioned way:
gem install tampon
== Capistrano Setup
You'll need to require the tampon recipe in deploy.rb:
require 'capistrano/ext/multistage' require 'capistrano/tampon'
That's all you need. Tampon will set the :branch variable and allow you deploy from any tag, branch or release whenever you wish.
== Optional Setup
If you're using the gitflow binary https://github.com/nvie/gitflow , tampon provides a nice helper to initialize your project using our favorite defaults:
rake gitflow:prepare
This will attempt to create a develop branch if one doesn't exist locally or remotely, track it and add the following defaults:
gitflow.branch.master = master gitflow.branch.develop = develop gtiflow.prefix.versiontag = v
=== Deploy to staging
To deploy what you're currently working on to staging:
cap staging deploy
Tampon will ask if you'd like to tag the release. The tag will include the date, who is deploying and a message. You will then be able to specify that tag as what you'd like to deploy.
=== Deploy to production
After you've finished a release branch, tampon will show you all the available releases to deploy from:
cap production deploy
== Contributing to tampon
== Copyright
Copyright (c) 2011 Spencer Markowski (The Able Few, LLC). See LICENSE.txt for further details.
FAQs
Unknown package
We found that tampon 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.