WIP
This commit is contained in:
parent
7f9344d437
commit
9aa3140a11
10 changed files with 28 additions and 17 deletions
|
|
@ -103,7 +103,7 @@ namespace isnd.Controllers
|
|||
Id = pkgid,
|
||||
Description = pkgdesc,
|
||||
OwnerId = apikey.UserId,
|
||||
LatestVersion = commit
|
||||
LatestVersion = commit,
|
||||
};
|
||||
dbContext.Packages.Add(pkg);
|
||||
}
|
||||
|
|
@ -143,6 +143,7 @@ namespace isnd.Controllers
|
|||
foreach (var v in pkgvers.ToArray())
|
||||
dbContext.PackageVersions.Remove(v);
|
||||
}
|
||||
|
||||
// FIXME default type or null
|
||||
if (types==null || types.Count==0)
|
||||
dbContext.PackageVersions.Add
|
||||
|
|
@ -152,6 +153,7 @@ namespace isnd.Controllers
|
|||
Major = version.Major,
|
||||
Minor = version.Minor,
|
||||
Patch = version.Patch,
|
||||
Revision = version.Revision,
|
||||
IsPrerelease = version.IsPrerelease,
|
||||
FullString = version.ToFullString(),
|
||||
Type = null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue