OSC / ondemand

Supercomputing. Seamlessly. Open, Interactive HPC Via the Web
https://openondemand.org/
MIT License
263 stars 98 forks source link

Remove analytics.lua #3621

Open TheGamer1002 opened 1 week ago

TheGamer1002 commented 1 week ago

Fixes #2808 This should be safe in theory, as my IDE claims there were no usages in code.

johrstrom commented 4 days ago

This is going to be a fairly large change so I'm not sure if it's indeed a good first issue.

First, we need to remove the references here (this is the bit that calls it): https://github.com/OSC/ondemand/blob/c3e71188d8a254db51b01e070fadcbce2ecdd37b/ood-portal-generator/templates/ood-portal.conf.erb#L307-L311

That's likely to break a bunch of test cases.

Then we should likely remove the internal variable: https://github.com/OSC/ondemand/blob/c3e71188d8a254db51b01e070fadcbce2ecdd37b/ood-portal-generator/lib/ood_portal_generator/view.rb#L69-L70

Lastly removing the config option from the example config file https://github.com/OSC/ondemand/blob/c3e71188d8a254db51b01e070fadcbce2ecdd37b/ood-portal-generator/share/ood_portal_example.yml#L194-L202