Giter Site home page Giter Site logo

Comments (7)

ferventcoder avatar ferventcoder commented on August 23, 2024

Well that's interesting. Because it copies the other files to the output folder, but it doesn't detect this file. I think what you may want to do for now is determine the path from the output folder back to that file.

from chocolatey-package-updater.

ferventcoder avatar ferventcoder commented on August 23, 2024

That will at least get you going again.

from chocolatey-package-updater.

dhilgarth avatar dhilgarth commented on August 23, 2024

I guess it isn't working in this scenario, because the file is outside the package folder and thus it wouldn't just need to copy it, it would also need to adjust the src in the file tag.
What I did for now was to create a hardlink from the original file to the _output folder, which is the location cpack is looking for it after chocopkgupd copied and transformed the package sources.

from chocolatey-package-updater.

ferventcoder avatar ferventcoder commented on August 23, 2024

That works as well. I meant that you would adjust the file src to the relative path location from _output\pkgname\pkgversion to where ever on disk the path is.

So it would go something like the following: ..\..\..\packagesfolder\extensions.ps1

from chocolatey-package-updater.

dhilgarth avatar dhilgarth commented on August 23, 2024

I understood that, but I found it un-intuitive :-) But now that I think of it, it would be the better solution, because it wouldn't require the creation of the hardlink when checking the repository out on a new machine.

from chocolatey-package-updater.

ferventcoder avatar ferventcoder commented on August 23, 2024

@dhilgarth actually I think this was a bug in choco itself. What version of choco is running with chocopkgup?

from chocolatey-package-updater.

ferventcoder avatar ferventcoder commented on August 23, 2024

chocolatey/choco#232 I believe would have fixed this in 0.9.9.5. However I noticed that you filed chocolatey/choco#411 around the same time as filing this issue. Does a newer version of Choco resolve this?

from chocolatey-package-updater.

Related Issues (20)

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.