aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-07-12testresults.py: fix a couple of thingstmg_testresultsGraydon, Tracy
- 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>
2019-07-12testresults.py: tidy upGraydon, Tracy
- Removed extraneous whitespace - Removed print stuff used for testing - Cleaned up comments a bit Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2019-07-12Commiting latest/greatest testresults.py scriptGraydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2019-07-11Stashing the latest workGraydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2019-06-24release-tools: remove meta-intel stuffGraydon, Tracy
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>
2019-06-20get_hashes.py: fix the missing sys importGraydon, Tracy
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>
2019-06-20utils.py: added functionality to support announce.pyGraydon, Tracy
- 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>
2019-06-20announce.py: script to automate the creation of the email announcementGraydon, Tracy
body. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2019-05-28/meta-notes.py: temp hack for encoding errorTracy Graydon
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>
2019-04-30relnotes.py: fix do_errata for major releasesGraydon, Tracy
- 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>
2019-04-22release.py: adjust for the dropping of eclipse pluginsGraydon, Tracy
- 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>
2019-04-02Add .gitignore to deal with *.pyc files and other crufty things.Graydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2019-01-17release-tools/relnotes.py: bitbake/oecore taggingGraydon, Tracy
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>
2019-01-17release-tools/release.py: update the copyright dateGraydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-12-21/release-tools/relnotes.pyGraydon, Tracy
- 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>
2018-12-15/release-tools/READMEGraydon, Tracy
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>
2018-12-15/release-tools/release.pyGraydon, Tracy
- 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>
2018-11-27/release-tools.relnotes.pyGraydon, Tracy
Fix the redundant write out to file for CVE list. Was duplicating CVES. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-11-15/release-tools/relnotes.pyGraydon, Tracy
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>
2018-11-12/release-tools/meta-notes.pyGraydon, Tracy
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>
2018-11-09/release-tools/get_hashes.pyGraydon, Tracy
Add a blank line to the output to make it easier to read the hashes Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-11-09/release-tools/relnotes.pyGraydon, Tracy
- 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>
2018-11-08/release-tools/get_cve.pyGraydon, Tracy
- 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>
2018-11-08/release-tools/unihash.pyGraydon, Tracy
Remove an unused pygit2 import for RemoteCallbacks. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-11-08/release-tools/unihash.pyGraydon, Tracy
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>
2018-11-07/release-tools/get_cves.pyGraydon, Tracy
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>
2018-10-31/release-tools/release.py: use the utils.py functionsGraydon, Tracy
- 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>
2018-10-31/release-tools/rel_type.py: make it work for milestonesGraydon, Tracy
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>
2018-10-31/release-tools/utils.py: fix the directory in gen_rel_md5Graydon, Tracy
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>
2018-10-30/release-tools/meta-notes.pyTracy Graydon
- 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>
2018-10-30/release-tools/meta-intel-sec-info.txtTracy Graydon
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>
2018-10-30/release-tools/utils.pyGraydon, Tracy
Delete the extraneously commented out imports. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-30/release-tools/utils.pyGraydon, Tracy
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>
2018-10-25/release-tools/meta-intel.pyTracy Graydon
Update the meta-intel release script to use the utils.py collection. Signed-off-by: Tracy Graydon <tracy.graydon@intel.com>
2018-10-25/release-tools/where_am_iTracy Graydon
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>
2018-10-25/release-tools/utils.pyTracy Graydon
Add a couple utility functions for md5sum related things. Signed-off-by: Tracy Graydon <tracy.graydon@intel.com>
2018-10-19/release-tools/rel_type.pyGraydon, Tracy
Print out the REL_ID variable. RELEASE was listed twice. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-19The KEY, KEY_PUB, and SECRET vars need to be global or they getGraydon, Tracy
clobbered on recursive callback. Fixed that. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-19Update script to use the utils.py functions and fix anGraydon, Tracy
issue with needing to change back to working dir before calling the unihash.py script. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-19Change the script to use ssh instead of https for git clone. UsingGraydon, Tracy
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>
2018-10-19The rel_type script determines the release type we are performing.Graydon, Tracy
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>
2018-10-19Add the get_hashes.py script. Handy way to dump release tarballGraydon, Tracy
hashes to a file for use in tagging, etc. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-19Fix a mangled line in the split_thing functionGraydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-19Moves some of the most commonly used functions into a commonGraydon, Tracy
place to make the scripts cleaner and more easily maintained. Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-19- Added some vars needed by the uninative release stuffGraydon, Tracy
- 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>
2018-10-19Also deprecated and now unused.Graydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-19Remove these obsolete files.Graydon, Tracy
2018-10-19Remove these deprecated scripts. They are never used and outdated.Graydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-10-16Fix the weirdly hanging else clause by getting rid of it.Graydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>
2018-08-21Switch to using the new where_am_i script instead of replicating it here.Graydon, Tracy
Signed-off-by: Graydon, Tracy <tracy.graydon@intel.com>