-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from worldbank/v2.1-hotfix
V2.1 hotfix
- Loading branch information
Showing
15 changed files
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 2.0 20240509 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
*! version 2.1 20240516 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
|
||
cap program drop repado | ||
program define repado, rclass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 2.0 20240509 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
*! version 2.1 20240516 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
|
||
cap program drop repadolog | ||
program define repadolog | ||
|
@@ -91,7 +91,7 @@ qui { | |
* Create a frame to store all pkg info and command info | ||
tempname pkg_frame | ||
frame create `pkg_frame' /// | ||
str500(package_name distribution_date download_date command_name checksum notes) str2000(commands source) byte(is_cmd) | ||
str500(package_name distribution_date download_date command_name checksum) strL(notes commands source) byte(is_cmd) | ||
|
||
* Read the trk file | ||
tempname trk_read | ||
|
@@ -137,7 +137,7 @@ qui { | |
local commands "`commands', `r(command_name)'" | ||
local cmd_name_`cmd_count' = "`r(command_name)'" | ||
local cmd_chck_`cmd_count' = "`r(checksum)'" | ||
local cmd_note_`cmd_count' = "`r(notes)'" | ||
local cmd_note_`cmd_count' = `"`r(notes)'"' | ||
} | ||
} | ||
|
||
|
@@ -158,7 +158,7 @@ qui { | |
|
||
* Write command line to the data frame | ||
forvalues i = 1/`cmd_count' { | ||
frame post `pkg_frame' ("`pkgname'") ("`distdate'") ("`downdate'") ("`cmd_name_`i''") ("`cmd_chck_`i''") ("`cmd_note_`i''") ("") ("`source'") (1) | ||
frame post `pkg_frame' ("`pkgname'") ("`distdate'") ("`downdate'") ("`cmd_name_`i''") ("`cmd_chck_`i''") (`"`cmd_note_`i''"') ("") ("`source'") (1) | ||
} | ||
|
||
* Resetting all locals | ||
|
@@ -267,7 +267,7 @@ qui { | |
} | ||
|
||
* Clean up notes | ||
local notes = trim(subinstr(`"`macval(notes)'"',",","",1)) | ||
local notes =trim(itrim(subinstr(`"`macval(notes)'"',",","",1))) | ||
} | ||
|
||
* Return dofile locals | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
*! version 2.0 20240509 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
*! version 2.1 20240516 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
|
||
cap program drop repkit | ||
program define repkit, rclass | ||
|
||
version 14.1 | ||
|
||
* UPDATE THESE LOCALS FOR EACH NEW VERSION PUBLISHED | ||
local version "2.0" | ||
local versionDate "20240509" | ||
local version "2.1" | ||
local versionDate "20240516" | ||
local cmd "repkit" | ||
|
||
syntax [anything] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 2.0 20240509 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
*! version 2.1 20240516 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
|
||
cap program drop reproot | ||
program define reproot, rclass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 2.0 20240509 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
*! version 2.1 20240516 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
|
||
cap program drop reproot_parse | ||
program define reproot_parse, rclass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 2.0 20240509 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
*! version 2.1 20240516 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
|
||
cap program drop reproot_search | ||
program define reproot_search, rclass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 2.0 20240509 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
*! version 2.1 20240516 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
|
||
cap program drop reprun | ||
program define reprun, rclass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 2.0 20240509 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
*! version 2.1 20240516 - DIME Analytics & LSMS Team, The World Bank - [email protected], [email protected] | ||
|
||
* Command intended to exclusively be run from the run files | ||
* that the command iedorep is generating | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters