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

Conversation

donald
Copy link
Contributor

@donald donald commented Jul 1, 2016

No description provided.

@@ -763,9 +763,7 @@ function verify_new_package_variables() {
fi
fi
PKGFULLVERSION="${PKGVERSION}${PKGEXTRAVERSION:+_${PKGEXTRAVERSION}}"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this removal correct?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, it is. Please ignore.

@pmenzel pmenzel changed the title Versionless Implement versionless bee files Jul 4, 2016
@pmenzel
Copy link
Contributor

pmenzel commented Jul 4, 2016

Looks good to me. I didn’t test it though.

Is there a place to document these changes? That means, give an example how to use the new feature?

If there is no such place, the merge request description could be used.

…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
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
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.
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
this is save, because after every call the completeness of the
output is checked and a wrong syntax will be detected
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
Copy link
Contributor Author

donald commented Jul 5, 2016

I've put a very short description into the wiki https://github.molgen.mpg.de/mariux64/bee/wiki

@donald donald merged commit 6a84241 into master Jul 5, 2016
donald added a commit that referenced this pull request Jul 5, 2016
Implement versionless bee files
donald added a commit that referenced this pull request Jul 12, 2016
This reverts commit 8f39962, reversing
changes made to 4bc583b.
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants