Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Doesn't remove deleted scripts #6

Open
twe4ked opened this issue Dec 1, 2013 · 2 comments
Open

Doesn't remove deleted scripts #6

twe4ked opened this issue Dec 1, 2013 · 2 comments

Comments

@twe4ked
Copy link

twe4ked commented Dec 1, 2013

For instance google-reader.coffee been removed from the hubot-scripts repo but it hasn't been removed from the catalog.

@Aupajo
Copy link
Owner

Aupajo commented Dec 6, 2013

Thanks! I've just flushed the old scripts and regenerated the index.

There's a rake task to flush the scripts (rake flush), and a rake task to generate the index (rake catalog). It would be simple enough to chain the two together, so that scripts are always flushed before the index is updated, but this would introduce a period of maybe 20 seconds where the list would be in various stages of completeness, as that's how long it takes to add all the scripts.

The problem stems from the fact this is essentially a set of big procedural rake tasks. It really just needs to be restructured in a nicer, more OO-way. I'll leave this issue open until it's fixed properly.

@twe4ked
Copy link
Author

twe4ked commented Dec 6, 2013

Cool, just thought I would mention it. Very useful site BTW, thanks. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants