Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-315

[weinre] generate valid Apache release artifact names

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: weinre
    • Labels:
      None

      Description

      Currently the weinre build does not generate correct names for it's archives.

      I've started a discussion in the mailing list on what kind of names we will want to use:

      http://markmail.org/thread/h6uaisrfbtjeh4dp

      Some of the bits are orthogonal though:

      • we should generate zip/tar.gz/targ.bz2 files for all archives
      • names should probably be -bin, -src, -doc for the archives
      • should generate all the hash files

      If we decide on having separate bin/src/doc high level directories, instead of version-number high level directories, then the archives should be generated in appropriate subdirectories.

      Also need to make sure the archives expand out to version-specific directory names.

        Activity

        Hide
        pmuellr Patrick Mueller added a comment -

        This is the current direction I'm headed down.

        The weinre build will create 3 directories: bin, src, doc.

        The files available in each directory are listed below.

        <v> should be filled in with the semver version,
        eg, "2.0.0" or "2.0.0pre-foo"

        Each of the archives will expand into their own directory tree:

        bin archive expands as apache-cordova-weinre-<v>-bin
        src archive expands as apache-cordova-weinre-<v>-src
        doc archive expands as apache-cordova-weinre-<v>-doc

        build artifacts:

        bin
            apache-cordova-weinre-<v>-incubating-bin.zip
            apache-cordova-weinre-<v>-incubating-bin.zip.md5
            apache-cordova-weinre-<v>-incubating-bin.zip.sha1
            apache-cordova-weinre-<v>-incubating-bin.tar.gz
            apache-cordova-weinre-<v>-incubating-bin.tar.gz.md5
            apache-cordova-weinre-<v>-incubating-bin.tar.gz.sha1
        
        src
            apache-cordova-weinre-<v>-incubating-src.zip
            apache-cordova-weinre-<v>-incubating-src.zip.md5
            apache-cordova-weinre-<v>-incubating-src.zip.sha1
            apache-cordova-weinre-<v>-incubating-src.tar.gz
            apache-cordova-weinre-<v>-incubating-src.tar.gz.md5
            apache-cordova-weinre-<v>-incubating-src.tar.gz.sha1
        
        doc
            apache-cordova-weinre-<v>-incubating-doc.zip
            apache-cordova-weinre-<v>-incubating-doc.zip.md5
            apache-cordova-weinre-<v>-incubating-doc.zip.sha1
            apache-cordova-weinre-<v>-incubating-doc.tar.gz
            apache-cordova-weinre-<v>-incubating-doc.tar.gz.md5
            apache-cordova-weinre-<v>-incubating-doc.tar.gz.sha1
        
        Show
        pmuellr Patrick Mueller added a comment - This is the current direction I'm headed down. The weinre build will create 3 directories: bin , src , doc . The files available in each directory are listed below. <v> should be filled in with the semver version, eg, " 2.0.0 " or " 2.0.0pre-foo " Each of the archives will expand into their own directory tree: bin archive expands as apache-cordova-weinre-<v>-bin src archive expands as apache-cordova-weinre-<v>-src doc archive expands as apache-cordova-weinre-<v>-doc build artifacts: bin apache-cordova-weinre-<v>-incubating-bin.zip apache-cordova-weinre-<v>-incubating-bin.zip.md5 apache-cordova-weinre-<v>-incubating-bin.zip.sha1 apache-cordova-weinre-<v>-incubating-bin.tar.gz apache-cordova-weinre-<v>-incubating-bin.tar.gz.md5 apache-cordova-weinre-<v>-incubating-bin.tar.gz.sha1 src apache-cordova-weinre-<v>-incubating-src.zip apache-cordova-weinre-<v>-incubating-src.zip.md5 apache-cordova-weinre-<v>-incubating-src.zip.sha1 apache-cordova-weinre-<v>-incubating-src.tar.gz apache-cordova-weinre-<v>-incubating-src.tar.gz.md5 apache-cordova-weinre-<v>-incubating-src.tar.gz.sha1 doc apache-cordova-weinre-<v>-incubating-doc.zip apache-cordova-weinre-<v>-incubating-doc.zip.md5 apache-cordova-weinre-<v>-incubating-doc.zip.sha1 apache-cordova-weinre-<v>-incubating-doc.tar.gz apache-cordova-weinre-<v>-incubating-doc.tar.gz.md5 apache-cordova-weinre-<v>-incubating-doc.tar.gz.sha1
        Show
        pmuellr Patrick Mueller added a comment - Committed to master (on 30 Mar 2012): https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-weinre.git;a=commit;h=4318fe39f6fd4461029ae88a28dca98aaf53284f

          People

          • Assignee:
            pmuellr Patrick Mueller
            Reporter:
            pmuellr Patrick Mueller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development