Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rake tasks to help with uniform handling of libyui related projects

License

NotificationsYou must be signed in to change notification settings

libyui/libyui-rake

Repository files navigation

Workflow Status

Rake tasks to help with uniform handling of libyui related projects. It provides setup forpackaging tasks and add some additional tasks.

Quick Start

Create aRakefile with this content:

require"libyui/rake"

Packaging tasks setup

Libyui::Tasks provides a method to change packaging tasks configuration. As it'sjust a proxy for::Packaging.configuration, the same options will beavailable.

Libyui::Tasks.configurationdo |conf|conf.obs_api="https://api.opensuse.org/"conf.obs_project="Devel:Libyui:Head"end

To avoid duplication, Libyui::Tasks provides a method to set packaging tasksconfiguration choosing from a set oftargetsdefinitions.For example, if you want to submit to SLE12, you can do:

Libyui::Tasks.submit_to(:sle12)

This method can receive, as a second parameter, the path to your owndefinitions if needed.

Ifsubmit_to is not explicitly used, it will be read from the environmentvariableLIBYUI_SUBMIT. If that variable is not set, the variableYAST_SUBMIT will be used instead. Finally, if none of the specialenvironment variables is set,:factory will be used as target.

Additional tasks

version:check

Check that version numbers are in sync.

version:bump

Increase the last part of version in spec and CMake files.

test

Pretend to run the test suite.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

This package is licensed underLGPL-2.1.

About

Rake tasks to help with uniform handling of libyui related projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors10


[8]ページ先頭

©2009-2026 Movatter.jp