npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

xl-repo-linker

v0.3.44

Published

The tool to import and export snapshots of XLD data and configurations.

Downloads

205

Readme

XL Repo Linker

You can find slides here

Introduction

When you reproduced some issue in XL Deploy and you want to share your environment with somebody else this tool will be helpful for you. Central point of communication of snapshots are Jira and Google Drive, also you can collect your snapshots on your local computer. When you prepared your environment you need to export it by using command line or chrome extension. Currently Chrome Extension supports only Jira, for other modes you need to use command line tool. In coming releases you can do it in both ways.

To setup XL Repo Linker you need to install 2 parts of application: npm module as a server and Chrome extension as a client.

Installation

When you run xl-repo-linker first time, just by running xl-repo-linker command, it will create .xl-repo-linker-config.yml in your user home directory, where you will need to provide for some of the properties your specific values related to credentials of Jira user and XL Deploy.

If you skip some required fields in the configuration file XL Repo Linker will tell you about it when you try to run it.

For using Google Drive mode you need to ask me Google Drive Key and Mongo ApiKey. I don't add it by default there due to security concerns.

Installing globally:

Installation via npm. If you don't have npm yet:

 curl https://npmjs.org/install.sh | sh

Once you have npm:

 npm install xl-repo-linker -g
 

If you already have installed node, please check that it is not older then 0.10:

node -v

This will install xl-repo-linker globally so that it may be run from the command line.

To update to the latest version after a while:

npm update xl-repo-linker -g 

To check current version of xl-repo-linker:

npm list -g | grep xl-repo-linker

How does it work

Currently it is available 3 modes:

  • Local (by default) - the local repository in ~/.xld-repo will be created and you can save all your snapshots locally. It is perfectly suits the needs when you don't need to share your snapshots with nobody else, but just recover your previous state.

    xl-repo-linker -e my-snapshot-name --mode local # (alternatively you can change the mode inside ~/.xl-repo-linker-config.yml)

  • Jira - when you have to attach your snapshot to Jira issue and share your snapshot with a person who has an access to Jira as well. It does work only with relatively small artifacts (by default it is 10Mb, but administrator can increase this value).

    xl-repo-linker -e DEPL-1000 --mode jira # (alternatively you can change the mode inside ~/.xl-repo-linker-config.yml)

  • Google Drive - when your snapshot is big and you don't want to make Jira slow, or both parties doesn't have access to Jira then this way becomes better to share.

    xl-repo-linker -e my-snapshot-name --mode google-drive # (alternatively you can change the mode inside ~/.xl-repo-linker-config.yml)

This modes you can change in the configuration file or override it with extra option: --mode

How to run the server:

 xl-repo-linker
 

How to use it cli mode:

You can see all options by running

xl-repo-linker -h

How to export xld-snapshot to Jira?

xl-repo-linker -e DEPL-1000

How to import xld-snapshot from Jira issue?

xl-repo-linker -i DEPL-1000

Configuration

You can configure XL Repo Linker for your needs, you can find many configuration sections for that in .xl-repo-linker-config.yml inside your user home directory

Snapshot section

This section is responsible for the folders/files which will be included into snapshot. For examples how to use it you can find it [here] (https://github.com/cowboy/node-globule)

Chrome Extension

After you installed the server part you need to install the Chrome Extension. Currently it is available by this link

Feedback

If you feel lack of documentation or not clear enough how to use or setup it, please let me now about it. Feel free to add your comments/improvement/issues here