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

Add Commit Networks #263

Merged
merged 16 commits into from
Aug 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions util-read.R
Original file line number Diff line number Diff line change
Expand Up @@ -863,14 +863,15 @@ create.empty.pasta.list = function() {
COMMIT.INTERACTION.LIST.COLUMNS = c(
"func", "commit.hash", "file",
"base.hash", "base.func", "base.file",
"base.author", "interacting.author"
"base.author", "interacting.author",
"artifact.type"
)

## declare the datatype for each column in the constant 'COMMIT.INTERACTION.LIST.COLUMNS'
COMMIT.INTERACTION.LIST.DATA.TYPES = c(
"character", "character", "character",
"character", "character", "character",
"character", "character"
"character", "character", "character"
)

COMMIT.INTERACTION.GLOBAL.FILE.FUNCTION.NAME = "GLOBAL"
Expand Down Expand Up @@ -952,6 +953,7 @@ read.commit.interactions = function(data.path = NULL) {
## Author data will be merged from commit data in \code{update.commit.interactions}.
interactions["base.author"] = NA_character_
interactions["interacting.author"] = NA_character_
interactions["artifact.type"] = "CommitInteraction"
bockthom marked this conversation as resolved.
Show resolved Hide resolved
return(interactions)
})))

Expand Down