Skip to content

Instantly share code, notes, and snippets.

@v4hn
Created February 10, 2022 11:00
Show Gist options
  • Save v4hn/5bc0c5a4d86c54cea6de3e0f4f757321 to your computer and use it in GitHub Desktop.
Save v4hn/5bc0c5a4d86c54cea6de3e0f4f757321 to your computer and use it in GitHub Desktop.
Ideas for an partially automated CI
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Ensure all mandatory variables are set by DETAILS
- Make sure SOURCE_VFY matches file at URL.
- Make sure SOURCEX_VFY is sha256:
- Make sure MAINTAINER is an email adress if set
- Make sure ENTERED is <= UPDATED
- Check if UPDATED is *after* previous value of UPDATED
- Check if UPDATED is in the last 4 weeks/next week
- Make sure there is a SOURCEX_VFY/SOURCEX_URL for each SOURCE
- Make sure file permissions in module are correct
(user side: - Make sure there is no file in zlocal/_patches/$MODULE)
- Make sure SOURCEX, SOURCEX_URL and SOURCEX_VFY all exist
- uses "default_cmake_build", et.al. but doesn't depend on cmake
- depends on *.rar / *.zip files but does not list the resp. dependency
- Make sure it does not use \t
- Check if URL is available
- Check if DEPENDS contains other things than depends/optional_depends with accepted number of arguments
- Check if CONFIGURE contains at least one "with" (not "without") statement in y
parameter (same for "on"/"off" and "enable"/"disable"
- Check if DEPENDS adds optional_depends without $2 / $3
- Check for `[ ] || do_stuff` constructs(these break &&)
- Check for OPTS= without mentioning $OPTS at the end and OPTS+="- (which misses an initial space)
- Check whether SOURCEX=$PATCH_URL are available on doppio
- Check for duplicated module in whole moonbase
- TYPE has to be valid
- When removing a module, make sure no DEPENDS mentions it anymore
- whole module does not contain invalid UTF8/control sequence characters
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment