Skip to content

Commit

Permalink
v0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhitsolutions committed Jan 6, 2025
1 parent b260466 commit b709656
Show file tree
Hide file tree
Showing 26 changed files with 606 additions and 200 deletions.
2 changes: 1 addition & 1 deletion License.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022-2024 JDH Information Technology Solutions, Inc.
Copyright (c) 2022-2025 JDH Information Technology Solutions, Inc.


Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
Binary file added PSProjectStatus-Help.pdf
Binary file not shown.
59 changes: 55 additions & 4 deletions PSProjectStatus.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

@{
RootModule = 'PSProjectStatus.psm1'
ModuleVersion = '0.14.1'
ModuleVersion = '0.15.0'
CompatiblePSEditions = 'Desktop', 'Core'
GUID = 'ec249544-dc4e-4e24-aae8-4281ec84f54d'
Author = 'Jeff Hicks'
CompanyName = 'JDH Information Technology Solutions, Inc.'
Copyright = '(c) 2022-2024 JDH Information Technology Solutions, Inc. All rights reserved.'
Copyright = '(c) 2022-2025 JDH Information Technology Solutions, Inc. All rights reserved.'
Description = 'A set of PowerShell tools for tracking module development status. The module uses a JSON file to create a custom object with information about your module. You can use this internally to track the status of your module including a simple to-do tracker. This module was first described at https://jdhitsolutions.com/blog/powershell/8960/introducing-psprojectstatus/'
PowerShellVersion = '5.1'
TypesToProcess = @('types\psprojectstatus.types.ps1xml')
Expand All @@ -17,7 +17,7 @@
'Set-PSProjectStatus', 'Get-PSProjectGitStatus',
'Get-PSProjectReport', 'Get-PSProjectTask',
'New-PSProjectTask', 'Remove-PSProjectTask',
'Update-PSProjectStatus'
'Update-PSProjectStatus', 'Open-PSProjectStatusHelp'
)
AliasesToExport = @('gpstat', 'npstat', 'spstat', 'gitstat','nptask')
PrivateData = @{
Expand All @@ -26,7 +26,58 @@
LicenseUri = 'https://github.com/jdhitsolutions/PSProjectStatus/blob/main/License.txt'
ProjectUri = 'https://github.com/jdhitsolutions/PSProjectStatus'
IconUri = 'https://raw.githubusercontent.com./jdhitsolutions/PSProjectStatus/main/images/psproject-icon.png'
ReleaseNotes = 'https://github.com/jdhitsolutions/PSProjectStatus/blob/main/changelog.md'
ReleaseNotes = @'
## [0.15.0] - 2025-01-06
### Added
- Added command `Open-PSProjectStatusHelp` to open a PDF version of the `README` file.
- Updated help documentation.
### Changed
- Updated verbose messaging.
- Updated `README.md`.
### Fixed
- Fixed bug in JSON schema for required `RemoteRegistry` properties.
- Fixed layout errors in the changelog.
## [0.15.0] - 2025-01-06
### Added
- Added command `Open-PSProjectStatusHelp` to open a PDF version of the `README` file.
- Updated help documentation.
### Changed
- Updated verbose messaging.@'
## [0.15.0] - 2025-01-06
### Added
- Added command `Open-PSProjectStatusHelp` to open a PDF version of the `README` file.
- Updated help documentation.
### Changed
- Updated verbose messaging.
- Updated `README.md`.
### Fixed
- Fixed bug in JSON schema for required `RemoteRegistry` properties.
- Fixed layout errors in the changelog.
- Updated `README.md`.
### Fixed
- Fixed bug in JSON schema for required `RemoteRegistry` properties.
- Fixed layout errors in the changelog.
'@
RequireLicenseAcceptance = $false
}
}
Expand Down
37 changes: 33 additions & 4 deletions PSProjectStatus.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ForEach-Object {


#region class definitions
enum PSProjectStatus {
Enum PSProjectStatus {
Development
Updating
Stable
Expand All @@ -42,6 +42,12 @@ Enum gitMode {
push
}

#the default task priority will be medium
Enum PSProjectTaskPriority {
Medium
Low
High
}
Class PSProjectRemote {
[string]$Name
[string]$Url
Expand All @@ -59,11 +65,34 @@ Class PSProjectRemote {
}
}

Class PSProjectTask {
[int32]$TaskID
[string]$TaskName
[string]$TaskDescription
[PSProjectTaskPriority]$Priority
[string[]]$TaskTags
[DateTime]$Created = (Get-Date)
[DateTime]$DueDate
[DateTime]$CompletedDate
[ValidateRange(0, 100)]
[Int32]$Progress = 0
[string]$AssignedTo = [System.Environment]::Username
[System.Boolean]$Completed = $false

PSProjectTask ([string]$TaskName) {
# $this.TaskID = _getNextTaskID
$this.TaskName = $TaskName
#$this.TaskDescription = $Description
}
PSProjectTask () {

}
}
Class PSProject {
[string]$Name = (Split-Path (Get-Location).path -Leaf)
[string]$Path = (Convert-Path (Get-Location).path)
[DateTime]$LastUpdate = (Get-Date)
[string[]]$Tasks = @()
[PSProjectTask[]]$Tasks = @()
[PSProjectStatus]$Status = 'Development'
[Version]$ProjectVersion = (Test-ModuleManifest -Path ".\$(Split-Path $pwd -Leaf).psd1" -Verbose:$False -ErrorAction SilentlyContinue).version
[string]$GitBranch = ''
Expand Down Expand Up @@ -134,7 +163,7 @@ This would be a major breaking change
#>

Class PSProjectTask {
<# Class PSProjectTask {
[string]$ProjectName
[string]$Path
[string]$TaskDescription
Expand All @@ -147,7 +176,7 @@ Class PSProjectTask {
$this.TaskDescription = $TaskDescription
$this.ProjectVersion = $ProjectVersion
}
}
} #>

#endregion

Expand Down
Loading

0 comments on commit b709656

Please sign in to comment.