Skip to content

Implement versionless bee files #7

Merged
merged 9 commits into from
Jul 5, 2016
Merged

Implement versionless bee files #7

merged 9 commits into from
Jul 5, 2016

Commits on Jul 5, 2016

  1. beesh: join together verify_new_package_variables and extract_new_pac…

    …kage_variables
    
    we want to expand the handling of variables changed by the beefile a bit
    which is easier implement and follow when done in a single function
    donald committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    94ef841 View commit details
    Browse the repository at this point in the history
  2. beesh: allow change of PKGVERSION , PKGEXTRAVERSION and PKGREVISION

    When we start with a versionless file, we need to be able to change
    the versions. We will add other tests for completeness in the following
    patches
    donald committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    9c3c227 View commit details
    Browse the repository at this point in the history
  3. beesh: first run beefile, then check for completeness

    we allow the bee file to be started without a complete
    version set. the bee file should set the version with
    a callback we add in a following patch.
    
    When we allow the version to be set in the bee file, $B and $S,
    which depend on the full package name, can only be set
    after the bee file is run. So we need to postpone the
    effect of the build_in_sourcedir callback to a later
    time.
    
    The beefiles can also set $B=$S directly. We deprecate this with
    this patch, but still detect it and act accordinly.
    donald committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6becbc0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1963674 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    476d2c1 View commit details
    Browse the repository at this point in the history
  6. beesh: add callback function bee_version

    at the same time add utility function bee_die and relax the checks
    so that we can update the full version string from inside the
    bee file
    donald committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    29a17d8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c43b32f View commit details
    Browse the repository at this point in the history
  8. beesh: avoid warnings of beeversion

    this is save, because after every call the completeness of the
    output is checked and a wrong syntax will be detected
    donald committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    59b38ad View commit details
    Browse the repository at this point in the history
  9. beesh: avoid wrong diagnostic

    we may fail to find a free revision number (eg with versionless bee
    files) and if so, we want to avoid the error message of beeversion
    and a wrong "cp" hint.
    donald committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    60427db View commit details
    Browse the repository at this point in the history