Giter Site home page Giter Site logo

Comments (5)

isaacna avatar isaacna commented on June 18, 2024 1

@JacksonMaxfield

What do you think of this:

  • Changing the process_local_file script in cdp_backend to process_special_event
  • Checks whether the video_uri provided in event_details_file is a URI for a local file or a URL to a remote resource.
  • If the video_uri is a remote resource, than we resource_copy it and use the new local file as the video_uri

This would abstract the logic of downloading a remote resource from the github actions bot, while also allowing people to run process_special_event on remote resources.

Thoughts? I think it'd be more generalizable and stores more logic more on cdp_backend

from cookiecutter-cdp-deployment.

isaacna avatar isaacna commented on June 18, 2024 1

Love it. In addition, you should make a parameter for metadata_file or metadata_str because the GH Action won't be able to accept a file but will be able to accept a string.

I was planning on having a GH workflow_dispatch input for event_details_json_string to correspond with this param. Then we can just local JSON file for all the event etails (including the video_uri) and call process_special_event on it.

from cookiecutter-cdp-deployment.

evamaxfield avatar evamaxfield commented on June 18, 2024

I would personally specifically call this "Process Special Event"

from cookiecutter-cdp-deployment.

evamaxfield avatar evamaxfield commented on June 18, 2024

Love it. In addition, you should make a parameter for metadata_file or metadata_str because the GH Action won't be able to accept a file but will be able to accept a string.

from cookiecutter-cdp-deployment.

evamaxfield avatar evamaxfield commented on June 18, 2024

That makes more sense 😂

from cookiecutter-cdp-deployment.

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.