Skip to content

emacs-eask/archives

Repository files navigation

License: GPL v3 Emacs Version

archives

Magic to prevent refreshing package archives failure

Refresh

Workflow automatically downloads package archives and stores them here.

NOTE: It will refresh every 1 hour(s).

❓ Why do we need this?

While sandboxing in Emacs package development, we will most likely call package-refresh-contents multiple times due to the newly set up environment. Eask already prevents you from doing that unless it's needed, but we might still encounter 404 from the archive's server (elpa, melpa, etc). This is generally because the server has temporarily blocked your IP to prevent a user from continuously requesting the archive content file within a short amount of time. Then you would have to wait for a few minutes (time depends on the archive server) to have your IP unlock from the archive server.

Here is the archives that comes into play! Eask tries to save you from this condition; it will download these archive-contents files if a 404 is met. It simply means you will never fail on refreshing package contents. 🎉

⚜️ License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

See LICENSE for details.

About

Magic to prevent refreshing package archives failure

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •