Code Monkey home page Code Monkey logo

ka-mensa-api's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update dependency c8 to v10
  • chore(deps): lock file maintenance

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • node 20.12.2-alpine
  • node 20.12.2-alpine
github-actions
.github/workflows/docker.yml
  • actions/checkout v4
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/build-push-action v5
.github/workflows/main.yml
  • actions/checkout v4
  • actions/setup-node v4
  • actions/checkout v4
  • actions/setup-node v4
  • actions/checkout v4
  • actions/setup-node v4
  • paambaati/codeclimate-action v5.0.0
npm
package.json
  • @fastify/cors 9.0.1
  • fastify 4.26.0
  • fs-adapters 7.0.2
  • group-items 4.0.0
  • ka-mensa-fetch 4.0.2
  • moment 2.30.1
  • ms 2.1.3
  • omniwheel 0.4.2
  • winston 3.13.0
  • @meyfa/eslint-config 5.1.0
  • @types/mocha 10.0.6
  • @types/ms 0.7.34
  • @types/node 20.12.7
  • c8 9.1.0
  • eslint 8.57.0
  • eslint-plugin-jsdoc 48.2.3
  • mocha 10.4.0
  • ts-node 10.9.2
  • typescript 5.4.5
  • node >=18.16.1

  • Check this box to trigger a request for Renovate to run again on this repository

Fixup of past plans

Sometimes, ka-mensa-fetch isn't updated quickly enough to reflect changes to the canteen and/or line names. This causes null ids in cached plans. There should be a fixup job that runs at process startup which looks for such null entries and tries to fill them in. That way, when ka-mensa-fetch is updated to be able to resolve the new names, even old plans can potentially be rescued.

Eliminate config.ts

Configuration via a source file is bad for multiple reasons:

  • Changes to the config must be recompiled
  • It gets the cloned Git repository out of sync
  • It doesn't really work with Docker

Most of the settings aren't needed anyway. I suggest removing them entirely, and converting others to environment variables, which are a more portable and standardized alternative.

Related issues:

  • #145
  • #146
  • #147
  • Move server options out of config.ts
  • Move fetch options out of config.ts
  • Update README to better explain ways to configure
  • Unify options parsing

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.