GithubHelp home page GithubHelp logo

Comments (5)

johnnylam88 avatar johnnylam88 commented on June 20, 2024

I see that I misread the pkgmeta specification. Your interpretation looks to be correct. However, there is definitely something wrong with the first example in the pkgmeta specification where it shows a SVN url for the trunk but also has "tag: latest". It's unclear to me whether we should assume the standard SVN repository structure and just infer the correct URL, or if we're supposed to ignore the tag setting completely.

from curseforge-packager.

johnnylam88 avatar johnnylam88 commented on June 20, 2024

Regarding caching externals, I think passing "-e" and "-o" to the script will do what you want. It will avoid deleting the package directory before copying files into place, and it will skip checking out externals. For example, "sh release.sh -z" will create a full release into the package directory, and subsequent "sh release.sh -eoz" will overwrite-copy files and skip checking out externals again.

from curseforge-packager.

Adirelle avatar Adirelle commented on June 20, 2024

Messing with subversion URL is actually an issue. I don't know how the curse packager does but it allows it. We can only assume the standard SVN structure. However, I'm not sure on the best way to get the latest tag.

from curseforge-packager.

johnnylam88 avatar johnnylam88 commented on June 20, 2024

Something like the following should get the latest tag, though maybe not the latest version tag:

svn log url://to/svn/repo/tags

However, if "tag: latest" just means the latest tag, then this will work. Just need to filter through some grep/sed/awk command to get the right information.

I'm going to modify the externals section so that it checks out the external code then does a mini-release of the external code to do repository keyword replacement; otherwise, the external checkout might end up with active @debug@ code.

from curseforge-packager.

johnnylam88 avatar johnnylam88 commented on June 20, 2024

I think I've fixed most of the points brought up in this ticket. Setting "tag" for both SVN and Git externals should work properly now, and externals are first checked out into another directory, followed by a mini-release of that checkout into the final external directory location. The mini-release causes repository keywords to be replaced.

from curseforge-packager.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.