Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Aug 26, 2021
  2. Jul 30, 2021
  3. Jun 23, 2021
    • dpsutton's avatar
      Licenses file (#16554) · 60617977
      dpsutton authored
      * wip for licenses
      
      * Lots of changes
      
      - bump clojure.data.xml to prevent illegal access
      - had to change navigators because of this
      - switch to full text of license
      - algo is now:
        1. check for a license file in jar
        2. check for an override pointing to a license file locally in
           resources
        3. Check pom file for license information and just use that
      
      can be invoked as:
      ```bash
      % clj -X mb.licenses/process :classpath \"$(cd ../.. && lein classpath)\" :backfill "\"overrides.edn\"" :output-filename "\"backend-licenses.txt\""
      License information written to  backend-licenses.txt
      /Users/dan/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar  : No license information found.
      org.clojars.brenton:google-diff-match-patch  : No license information found.
      
      % wc backend-licenses.txt
         33638  299118 2092948 backend-licenses.txt
      ```
      
      * xml/parse without the strings
      
      * Add tests
      
      * remove comment form
      
      * namespace comments
      
      * readme
      
      * instructions to create backend license files
      
      * Add version information to the build script
      
      need to either yank it out of the separate project or just use it as a
      local root. not sure which
      
      todos: move to s3 once i get access and figure out the proper bucket
             copy to a place so it ends up in the jar
             generate frontend versions as well
      
      * Build frontend and backend license files
      
      put them in the jar at
      META-INF/leiningen/metabase-core/metabase-core/license-frontend-third-party
      META-INF/leiningen/metabase-core/metabase-core/license-backend-third-party
      
      need to be named ^license.* for lein uberjar to pick them up
      
      * Rename and reformat
      
      * remove old stuff
      
      * combine with a newline
      
      * Tests ensure all jars have an identifiable license
      
      * Extra information if backfill is malformed or missing
      
      * correct name for apache2_0 backfill
      
      * print out classpaths in CI
      
      * print
      
      * see whole classpath. it's empty on ee for some reason
      
      * assert they are there
      
      * Get deps before attempting classpath
      
      for some reason the first one fails. but subsequent re-runs work.
      
      * loop on deps until satisfied
      
      * Include message if cannot satisfy
      
      * include all drivers when getting deps
      
      * rearrange ns docstring
      
      * Hoist functions on pom inside of `with-open` on the input streams
      
      * Update to inversion of pom parsing
      
      * Move to nio from java.io
      Unverified
      60617977
  4. Jan 29, 2021
  5. Nov 16, 2020
  6. Nov 13, 2020
  7. Nov 06, 2020
    • Cam Saul's avatar
      Mega build script improvements (#13638) · cfa6bf84
      Cam Saul authored
      * Mega build script improvements
      
      * Look for project.clj to determine root directory since we delete .git on CI for speed
      
      * If .git folder is missing (i.e., in CI) fail gracefully
      
      * Don't need to generate version file to run Cypress tests, right?
      
      * Build uberjar step can cache version.properties
      (so the Cypress test steps don't need to generate it again)
      
      * Flush caches
      
      * Update uberjar cache key
      Unverified
      cfa6bf84
  8. Oct 29, 2020
    • Cam Saul's avatar
      Migrate build/upload Elastic Beanstalk artifact code into main release script... · 077b2b8a
      Cam Saul authored
      Migrate build/upload Elastic Beanstalk artifact code into main release script and other improvements (#13635)
      
      * Always use current branch; determine CE vs EE build based on version number
      
      * Rename delete-file! -> delete-file-if-exists!
      
      * Dox & TODO message
      
      * Move draft release template
      
      * Some logging tweaks for deleting files
      
      * Move s3 upload code to common namespace
      
      * Integrate EB artifact logic
      
      * Move .ebextensions -> release
      
      * Remove old EB release scripts
      Unverified
      077b2b8a
  9. Oct 22, 2020
  10. Oct 09, 2020
    • Cam Saul's avatar
      New driver build scripts (#13383) (#13428) · 2468cac2
      Cam Saul authored
      * New driver build scripts and fix Google driver build
      
      * Install Clojure CLI in Circle CI
      
      * Fix driver build script
      
      * Build script fix :wrench:
      
      * More dox
      
      * Enforce minimum build Clojure CLI version and address feedback
      
      * New metabuild-common directory for shared stuff. Address some PR feedback
      Unverified
      2468cac2
    • Cam Saul's avatar
      New release build script (squashed) · 38a86abf
      Cam Saul authored
      38a86abf
    • Cam Saul's avatar
      New driver build scripts (#13383) · 4315dbed
      Cam Saul authored
      * New driver build scripts and fix Google driver build
      
      * Install Clojure CLI in Circle CI
      
      * Fix driver build script
      
      * Build script fix :wrench:
      
      * More dox
      
      * Enforce minimum build Clojure CLI version and address feedback
      
      * New metabuild-common directory for shared stuff. Address some PR feedback
      4315dbed
  11. Oct 08, 2020
    • Cam Saul's avatar
      New driver build scripts (#13383) · 9a82d7d9
      Cam Saul authored
      * New driver build scripts and fix Google driver build
      
      * Install Clojure CLI in Circle CI
      
      * Fix driver build script
      
      * Build script fix :wrench:
      
      * More dox
      
      * Enforce minimum build Clojure CLI version and address feedback
      
      * New metabuild-common directory for shared stuff. Address some PR feedback
      Unverified
      9a82d7d9
Loading