Giter Club home page Giter Club logo

ydownloader's Introduction

ydownloader Build Status

shell script for downloading SAP Hybris Commerce Suite from Artifactory

gets your version of the suite within a single command (on Linux and macOS)

notes:

  • it's not official company project!
  • you need to have an account in Hybris Artifactory to use it!
  • it may not work properly for the latest version due to changed versioning standard - it's better to provide version name (or its first part) explicitely (e.g. 18 or 1811) - you can do that via CLI when script asks you for the version number
  • this project probably will be outdated and deprecated once all artifacts will be migrated from Artifactory to Nexus

Contents

Usage

Just run script as follows:

./ydownloader

You can use the following parameters:

  ydownloader is a script responsible
  for downloading SAP Hybris Commerce Suite from Artifactory

  Usage:
    -d    downloading Commerce Suite
    -u    showing Commerce Suite Download Url
    -t    showing Commerce Suite Release Time
    -s    saving username and password
    -c    clearing username and password
    -h    showing help

Installation and update

with wget:

sh -c "$(wget https://raw.githubusercontent.com/pwittchen/ydownloader/master/install.sh -O -)"

with curl:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/pwittchen/ydownloader/master/install.sh)"

Tests

Unit tests use shunit2. In order to exectute them, run:

./test.sh

ydownloader's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

spofa

ydownloader's Issues

Add unit tests

There is no main standard of unit testing shell scripts, but there are solutions for that.

A few references:

Initial directory structure:

  • src
    • main
      • ydownloader
    • test
      • ydownloaderTest.sh
      • (third party testing scripts)
      • ...

Add makefile

We can add makefile with the following commands:

  • make install
  • make url
  • make download
  • make test

It will simplify testing and usage of the development version of the project after adding tests in #1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.