mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 13:38:12 +02:00
added uuid when creating the dataset
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
import argparse, os, subprocess, docker
|
import argparse, os, subprocess, docker, uuid
|
||||||
from github.Commit import Commit
|
from github.Commit import Commit
|
||||||
from github.ContentFile import ContentFile
|
from github.ContentFile import ContentFile
|
||||||
from github.PullRequest import PullRequest
|
from github.PullRequest import PullRequest
|
||||||
@ -239,6 +239,7 @@ def process_pull(
|
|||||||
|
|
||||||
entry = DatasetEntry(
|
entry = DatasetEntry(
|
||||||
metadata=Metadata(
|
metadata=Metadata(
|
||||||
|
uuid.uuid4().hex,
|
||||||
repo.full_name,
|
repo.full_name,
|
||||||
pr.number,
|
pr.number,
|
||||||
pr.title,
|
pr.title,
|
||||||
|
Reference in New Issue
Block a user