Age | Commit message (Collapse) | Author |
|
- Fix the branch used to checkout the yocto-testresults repo.
- Uncomment the real release directory path and remove my testing hack
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Removed extraneous whitespace
- Removed print stuff used for testing
- Cleaned up comments a bit
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Moved the meta-intel related stuff to it's own branch in preparation for
splitting off from the Yocto specific tools.
Deleted: meta-intel-sec.info, meta-intel.py, and meta-notes.py
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
For some reason the import sys statement was missing, and script was
broken. Added it.
Also removed some extraneous printing of vars that is really not useful
anymore.
Updated the copyright header.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Added a function that gets the actual user who is running announce.py
- Added a function that takes that user info and generates the email signiture
- Added get_hashes functionality to utils for use with announce.py and
'cuz it is handy for the future.
- Removed some extraneous print statements that are just noise in
various functions.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
body.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Add a temporary hack to deal with unicode string problem. Need to replace this with a proper
treatment of encoding for utf-8. Error is at line 221 with using str to deal with unicode and
encoding. Need to fix that.
Signed-off-by: Tracy Graydon <tracy.graydon@intel.com>
|
|
- We exclude bitbake and oecore tarballs from errata for point releases.
Failed to include it for major. Added a check for release type and made
that inclusion/exclusion conditional.
- Also added a reverse sort to the tarball list so that the poky tarball
winds up first in the errata. We don't care so much about the others,
but poky should be first in the errata.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Made publishing of eclipse plugins dependant on the existence
of an eclipse-plugin directory in the release candidate. No
directory, no plugins to publish, skips step.
Left the step just in case we do a release with plugins as a
special case. Probably okay to drop this altogether in awhile
once we know nothing will potentially creep up.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Remove the bitbake and oecore errata from the release notes generation.
We don't tag these repos for point releases, so we do not need these
in the releasenotes.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Fix the eclipse tag and branch in the errate generation
- Fix the oe-core tag and branch in the errata generation
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
A first pass at making the README somewhat more useful with info about
the various scripts, context for using them, etc.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- The top-level directory in the tarballs generated for a releae can vary
in naming scheme. When it changes, it breaks the fix_tarballs function.
To fix that, I rewrote the fix_tarballs function to get the top-level directory
name from the actual tarball.
- Changed the script to use Python's tarfile module instead of
os.system calls.
- Fixed the broken beaglebone-yocto BSP generation. Change in directory
name in machines dir caused that to break.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Fix the redundant write out to file for CVE list. Was duplicating CVES.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Add a couple of comments about file naming, and fix the name of the
RELEASENOTES file. It had a bogus underscore in it.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Change the git repo url to use http instead of https. This dodges the
issue of the tricky pygit2/libgit2 installation with openssl support.
Http is sufficient for anything we need to do right now.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Add a blank line to the output to make it easier to read the hashes
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Rewrite of relnotes.py using pygit2 lib for git stuff.
- Stop writing out everything for major releases. We don't use it. Just
write out the errata which we need for the release notes and the release web
page.
- Fix the bad naming on the newer bitbake, oe-core artifacts, and fix
the incomplete eclipe tag names.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Fix the header info
- Add a line to print out without hashes
- Fix the line to write to file without hashes.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Remove an unused pygit2 import for RemoteCallbacks.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Use http instead of ssh with pygit. Simpler and will skirt
the issue of https protocl for libgit2 being deliberately disabled
on Debian.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Takes a revision range and finds the CVEs fixed in between.
Returns the commit has and the commit description from the commit message.
It is not perfect. If there is CVE info in the body of the commit message,
and not in the first line, it will not find it. This is preferable to returning
references to CVE patches that have been dropped, or other extraneous things.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Remove the functions that got moved into utils.py and import.
- Fixed the tarball cleanup section. It was failing due to directory
name changes within the original tarballs. Updated that to work with
the new naming.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Make the reltype function work with milestone releases. We
need it to return the milestone name, if applicable.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
We don't need the RELEASE_DIR var there. We just pass in the
relevant directory from the calling script. Fixed that.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Read in the security info for the CVE/Security section of the
meta-intel release notes.
- Rewrite to use pygit2 instead of os system commands for repo
management. Previous method sometimes failed to update the repo
correctly, resulting in bogus content for Fixes section. This fixes
that problem.
Signed-off-by: Tracy Graydon <tracy.graydon@intel.com>
|
|
Add a file that contains the security info that we include in the
meta-intel release notes. Rather than hard code this, or add it manually,
we can now just read it in.
Signed-off-by: Tracy Graydon <tracy.graydon@intel.com>
|
|
Delete the extraneously commented out imports.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Update the sync_it function to not use the deprecated UNLOVED exclude list.
We got rid of the stuff that we did not want to release, so we no longer
need to delete .deb, .rpm, etc, things.
Signed-off-by: tracy.graydon@intel.com <tgraydon@debian-testing.yocto.io>
|
|
Update the meta-intel release script to use the utils.py collection.
Signed-off-by: Tracy Graydon <tracy.graydon@intel.com>
|
|
Use /srv/www/vhosts as the default when we are not on the yocto.io cluster
and on a host that is ambiguous. Odds are that we are on the meta-intel
AB or an older cluster using /srv/www/vhosts instead of /srv/autobuilder.
This facilitates ease of use by meta-intel release script.
Signed-off-by: Tracy Graydon <tracy.graydon@intel.com>
|
|
Add a couple utility functions for md5sum related things.
Signed-off-by: Tracy Graydon <tracy.graydon@intel.com>
|
|
Print out the REL_ID variable. RELEASE was listed twice.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
clobbered on recursive callback. Fixed that.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
issue with needing to change back to working dir before
calling the unihash.py script.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
https causes problems on Debian systems that don't have manually
compiled libgit2. So, we'll use ssh instead.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
i.e. milestone, major, point. It returns not only the release type,
but also some variables for paths and such that we need to stage
the release.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
hashes to a file for use in tagging, etc.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
place to make the scripts cleaner and more easily maintained.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
- Added some comments
- Added some code to make a wild guess at what to use if not on
a host that has an expected domain. Useful for testing.
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|
|
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
|