Giter Club home page Giter Club logo

Comments (6)

YashKandalkar avatar YashKandalkar commented on July 25, 2024

@inian Hello!
I wanted to fix this, I didn't knew a lot about psql functions but from what I searched, this works:

return (select regexp_replace('cat.meme.jpg', '^.*\.', ''));

(or making a _extension var and returning that)

I have only tested this in a sql editor, not inside this repo, as you need to have an aws s3 instance to develop (right?)
I tried running npm test only after renaming .env.sample to .env, same with .env.test but got

docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')

are there any dependencies need to be installed?

from storage.

inian avatar inian commented on July 25, 2024

Hey Yash,

Yup something like that regex should work. You will need a AWS S3 bucket and AWS credentials setup. I have updated the README recently. Let me know if something is not clear from that.

Can you try again by renaming .env.test.sample to .env.test also?

from storage.

bariqhibat avatar bariqhibat commented on July 25, 2024

Hey @inian, is this issue resolved already by @YashKandalkar? If not, can I give it a shot?

from storage.

inian avatar inian commented on July 25, 2024

Go ahead @bariqhibat! I haven't tested @YashKandalkar's solution, so even if you can help test it out, it will help.

from storage.

bariqhibat avatar bariqhibat commented on July 25, 2024

Go ahead @bariqhibat! I haven't tested @YashKandalkar's solution, so even if you can help test it out, it will help.

I do a little bit of research on this, and found this to be a good solution

return reverse(split_part(reverse(_filename), '.', 1))

from storage.

github-actions avatar github-actions commented on July 25, 2024

🎉 This issue has been resolved in version 0.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from storage.

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.