Skip to content

Remove potentially legacy working commits call/table #3323

@MoralCode

Description

@MoralCode

https://github.com/chaoss/augur/blob/c5eeb072ae5c541e5fbb56295b3afab5dffaf4b0/augur/tasks/git/facade_tasks.py#L335C5-L335C49

this line prompted a disussion with @IsaacMilarky

It seems like this line is from legacy facade where it would collect into a working_commits table (so it could pick up a partial collection where it left off) and then at the end it would transfer them to the commits table.

As far as i can see, analyze_commits_in_parallel calls this

s.insert(Commit),

which uses the ORM Commit object https://github.com/chaoss/augur/blob/main/augur/application/db/models/augur_data.py#L1261
to write directly to the commits table

so this may need to be removed along with the table it refers to (although maybe an audit is necessary)

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseRelated to Augur's unifed data modeltech debt

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions