Code Monkey home page Code Monkey logo

yast-meta's Introduction

Y2M - the YaST2 meta tool

This is a simple tool to help you to checkout all YaST modules, while maintaining the directory structure of the former svn repo.

With this tool you can

  • checkout all or just your favorite modules
  • switch all (or favorite) modules to a specific branch
  • run git pull on all (or favorite) modules

with just one command.

Note: There is no need to use this tool. You can do everything manually as well.

Installation

cd $CHECKOUTDIR
git clone [email protected]:yast/yast-meta meta
cd meta
ln -s `pwd`/y2m ~/bin/

Usage

y2m <command> [<modules>,..]

commands

clone        : run git clone for <modules>
up|pull      : run git pull for a <modules>
co|br <name> : run git checkout to switch to branch <name> for <modules>

modules

'ALL' : applies to all current known yast modules
'FAV' : applies to only your favorite modules, set in ~/.y2m
<lowercase string> : applies to the named modules

Authentication

The tool will work even without GitHub authentication, unless you share an IP with the rest of your company, in which case it will fail because of rate limiting. To get an 83 times better rate, authenticate:

Generate a new access token (no scopes are needed), and set up a .netrc file:

touch     ~/.netrc
chmod 600 ~/.netrc
echo   >> ~/.netrc "machine api.github.com login your_username password your_token"

Reserved Branch and Tag Name Prefixes

In order to maintain a certain consistency between the modules there are some prefixes that you should not use for your own branches/tags. They are reserved for openSUSE or SLE releases.

Reserved prefixed for branches and tags:

  • 'openSUSE-'
  • 'SLE-'
  • 'Code-'

See also: http://en.opensuse.org/YaST_SVN_to_GIT

yast-meta's People

Contributors

dgdavid avatar dmajda avatar jdsn avatar jreidinger avatar jsuchome avatar kobliha avatar lnussel avatar lslezak avatar mvidner avatar teclator avatar tgoettlicher avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.