103

ANNOUNCEMENTS · Issue #29 · emacscollective/borg · GitHub

 6 years ago
source link: https://github.com/emacscollective/borg/issues/29
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

ANNOUNCEMENTS #29

Closed

tarsius opened this issue Dec 17, 2017 · 6 comments

Closed

ANNOUNCEMENTS #29

tarsius opened this issue Dec 17, 2017 · 6 comments

Comments

Member

Announcement #0

Sometimes I have to make backward incompatible changes to borg, epkg and the database schemata, which require that those things are updates at the same time or even in a particular order. In the past I had no way to communicate that that to you before you already got your setup into a broken state, making it harder to complete the update without me having to get involved.

To make that less likely in the future I will announce breaking (and other noteworthy) changes here. If you use borg or even just epkg, then you should subscribe to this issue.

This issue is locked to guarantee that it contains nothing but the actual announcements. I will open separate issues dedicated to particular announcements where you can comment or ask for help. To comment on this announcement of announcements, see #30.

emacscollective

locked as off-topic and limited conversation to collaborators

Dec 17, 2017

Member

Author

epkg and the database repository have to be updated at the same time

I have added two new slots/rows to the package object/table. As a result the epkg package and the database have to be updated at the same time to the epkg-db-version/PRAGMA 4. Even if you don't do this borg should still be able to initialize the installed drones but you will get errors when trying to assimilate new packages and also when using any functionality provided by epkg.

If you read this before epkg tells you that things are out of sync, then it is best to do this (after quitting Emacs):

cd ~/.emacs.d/lib/epkg
git pull
make
cd ~/.emacs.d/epkgs
git pull

Otherwise epkg will tell you that either it itself or the database or to old:

The installed epkg version requires a new database scheme. Update database now?

Say yes, and things should work again.

Please update the epkg package. The installed version is too old for the current database scheme.

Quit Emacs and do this:

cd ~/.emacs.d/lib/epkg
git pull
make

If things don't work out, then do this:

  1. Restart Emacs.
  2. If that also fails, then do the things in the first code-block above again. And restart Emacs.

Oh, and I almost forgot. This is the feature that made this necessary: emacscollective/epkg#2


If you need help, then please comment on #34.

Member

Author

Bootstrapping files are now located inside the borg drone

The files Makefile and bin/borg-bootstrap were moved from the emacs.g collective into the borg drone. They were modified a bit and renamed to borg.mk and borg.sh. A new Makefile was added to emacs.g repository. It defines a single target bootstrap-borg, which clones the borg submodule and imports lib/borg/borg.mk.

This should make it easier to create independent configurations that don't derive from emacs.g because the new Makefile will likely have to change much less often. At least eventually -- since this change just happened very recently this might not be true for a few weeks. The old Makefile should continue to work for a while so you don't have to update your ~/.emacs.d just yet.

Due to some make weirdness (or due to my limited make knowledge) it is no longer possible to build a single drone using make lib/DRONE. Instead one has to use make lib/DRONE/build.


If you need help, then please comment on #45.

In fact you should subscribe to that issue since that is where I will post updates on this topic.

Member

Author

Experimental support for using Borg alongside Package.el

Borg can now be installed as a secondary package manager alongside package.el. This is not documented in the manual yet. Please follow the instructions in #46 instead. Beside adding such installation instructions to the manual, I also have to describe use-cases and restructure the manual. This is quite a bit of work and that is why I am making this feature available now with only limited documentation.


If you need help, then please comment on #46.

Member

Author

Epkg and Closql have to be updated at the same time

I've made a backward incompatible change to closql. The result is that epkg has to be updated at the same time as closql. If you have already updated one of these packages, then you should still be able to update the other using Magit and make lib/other.


If you need help, then please comment on #81.

Member

Author

I have released new version of Borg, Epkg, Closql and Emir

The release announcements can be found at https://emacsair.me/2018/10/31/many-releases/.

Member

Author

The package database is now tracked as a text dump

For more information and instructions see #91.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Assignees

No one assigned

Milestone

No milestone

Development

No branches or pull requests

1 participant

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK