Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All of the Anope conversion scripts are outdated. #662

Open
alyx opened this issue May 24, 2019 · 5 comments
Open

All of the Anope conversion scripts are outdated. #662

alyx opened this issue May 24, 2019 · 5 comments
Assignees

Comments

@alyx
Copy link
Member

alyx commented May 24, 2019

Per IRC:

anope-1.9.2-convert.php

kevin@vps:~/services/data$ php anope-1.9.2-convert.php
Opening old anope database
Beginning conversion process
atheme opensex compatable db - DBV 7
Lines in DB: 124
Converting some registration timestamps for MU's
Conversion complete. Enjoy atheme :)

kevin@vps:~/services/data$
08:37 < Carnal> But guess wha
08:37 < Carnal> DBV 7
08:37 < Carnal> CF +vVoOtsriRfhHAb
08:37 < Carnal> YAY A whole two lines.

anope_convert.c

08:32 < Carnal> CMake Error at modules/CMakeLists.txt:17 (message):
08:32 < Carnal>   Anope 1 modules are not compatible with Anope 2!

Things seem to not be doing well on the "migration from Anope" front.

@alyx alyx self-assigned this May 24, 2019
@Fudster
Copy link

Fudster commented May 24, 2019

NickCore example (from anope.db)

OBJECT NickCore
DATA display yofun
DATA pass sha256:2febb4c713ed294506567726dffe4b319b236955053a2377d6bc9ed
DATA email somethng@example.com
DATA language en_US
DATA access Some_host@example.com
DATA memomax 20
DATA greet It's Fud!
DATA MEMO_SIGNON 1
DATA MEMO_RECEIVE 1
DATA HIDE_EMAIL 1
DATA HIDE_MASK 1
DATA NS_PRIVATE 1
DATA AUTOOP 1
DATA KILLPROTECT 1
DATA NS_SECURE 1
END

@Fudster
Copy link

Fudster commented May 24, 2019

This makes little sense but anope makes a nickalias of the same nick....

OBJECT NickAlias
DATA nick yofun
DATA last_quit Connection closed
DATA last_realname carnal
DATA last_usermask Carnal@host
DATA last_realhost Carnal@IP
DATA time_registered 1383971831
DATA last_seen 1545344993
DATA nc yofun
END

Here's a nickname grouped under yofun

DATA nick fudster
DATA last_quit
DATA last_realname carnal
DATA last_usermask Carnal@example.com
DATA last_realhost Carnal@IP
DATA time_registered 1389410984
DATA last_seen 1547403725
DATA nc yofun
DATA vhost_ident
DATA vhost_host my.vhost.example.com
DATA vhost_creator TheWaffle
DATA vhost_time 1544743787
END

@KlaasT
Copy link

KlaasT commented Jun 5, 2019

I've forked the 1.9 PHP script in 2016 for fun and tried to make it working with Anope 2.0. I could convert quite some data. I think most of the flag and access stuff didn't work correctly. I'm happy to share my work if anyone wants to use it:

https://gist.github.com/KlaasT/449b28c63db129a7714d41b8e2074d90

Some Nick and Channel data should be converted by this. I don't know if anything has changed much since then.

@mrc4tt
Copy link

mrc4tt commented Dec 9, 2019

Any updates, about it's possible to migration from anope to atheme without to re-register on nickserv? ;)

@Fudster
Copy link

Fudster commented Nov 5, 2020

Is there any updates to this issue?

I am currently using anope and would love to change to atheme.

If nobody else is willing to build the script I am willing to build a script in python.

But I still need to know if there's a way to convert the passwords over or not.

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

No branches or pull requests

5 participants
@alyx @KlaasT @mrc4tt @Fudster and others