Skip to content

Replaced memberaudit with corptools#95

Open
HueHue-dev wants to merge 2 commits intoEVE-University:mainfrom
HueHue-dev:corptools-migration
Open

Replaced memberaudit with corptools#95
HueHue-dev wants to merge 2 commits intoEVE-University:mainfrom
HueHue-dev:corptools-migration

Conversation

@HueHue-dev
Copy link
Copy Markdown

No description provided.

Comment thread whctools/views.py
"portrait_url": eve_char.portrait_url(64),
"character": macharacter,
"is_shared": macharacter.is_shared,
"has_skills": Skill.objects.filter(character=ca_character).exists(),
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats i think the most "breaking" change. Because there is no is_shared for corptools i had to find something different. I could use is_active flag. That the character cant be yellow in character audit.

Since the skills is the only relevent part of the character for this app, i thought that would be fine.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If corptools doesn't have a "share" flag for members, then I assume that means it's always shared and nothing here is needed - which means we probably don't need this at all yeah?

Copy link
Copy Markdown
Author

@HueHue-dev HueHue-dev Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as i understand the character is always shared in corptools. So i could remove this flag. That would be an easy change.

If we assume that the data is synced then this wouldnt cause any issues.

Comment thread setup.py
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

install_requires = ["allianceauth", "aa-memberaudit"]
install_requires = ["allianceauth", "aa-memberaudit", "corptools"]
Copy link
Copy Markdown
Author

@HueHue-dev HueHue-dev Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we currently have all migrations migrated on the live system, i can commit the change that remove aa-memberaudit. if not we probably need aa-memberaudit for the migrations and after that we can remove memberaudit.

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

Successfully merging this pull request may close these issues.

2 participants