Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Koenkk/zigbee-OTA
/ functions
Functions
125 in github.com/Koenkk/zigbee-OTA
⨍
Functions
125
◇
Types & classes
12
↓ 73 callers
Function
useImage
(imageName: string, outDir: string = BASE_IMAGES_TEST_DIR_PATH)
tests/data.test.ts:230
↓ 32 callers
Function
checkOtaPR
(github: Octokit, core: typeof CoreApi, context: Context)
src/ghw_check_ota_pr.ts:27
↓ 30 callers
Function
withExtraMetas
(meta: RepoImageMeta, extraMetas: ExtraMetas)
tests/data.test.ts:243
↓ 28 callers
Function
expectWriteNoChange
(nth: number, fileName: string)
tests/ghw_reprocess_all_images.test.ts:150
↓ 28 callers
Function
processFirmwareImage
( manufacturer: string, firmwareFileName: string, firmwareFileUrl: string, extraMetas: ExtraMe
src/process_firmware_image.ts:66
↓ 25 callers
Function
reProcessAllImages
( github: Octokit, core: typeof CoreApi, context: Context, removeNotInManifest: boolean, s
src/ghw_reprocess_all_images.ts:347
↓ 22 callers
Function
writeCacheJson
(fileName: string, contents: T, basePath: string = CACHE_DIR)
src/common.ts:92
↓ 19 callers
Function
withOriginalUrl
(originalUrl: string, meta: RepoImageMeta)
tests/process_firmware_image.test.ts:67
↓ 16 callers
Function
readManifest
(fileName: string)
src/common.ts:88
↓ 16 callers
Function
setManifest
(fileName: string, content: RepoImageMeta[])
tests/ghw_reprocess_all_images.test.ts:120
↓ 14 callers
Function
withBody
(body: string)
tests/ghw_check_ota_pr.test.ts:115
↓ 14 callers
Function
writeManifest
(fileName: string, firmwareList: RepoImageMeta[])
src/common.ts:84
↓ 12 callers
Function
setManifest
(fileName: string, content: RepoImageMeta[])
tests/process_firmware_image.test.ts:50
↓ 11 callers
Function
expectNoChanges
(noReadManifest = false)
tests/ghw_check_ota_pr.test.ts:123
↓ 11 callers
Function
readCacheJson
(fileName: string, basePath: string = CACHE_DIR)
src/common.ts:96
↓ 10 callers
Function
getLatestImage
(list: T[] | undefined, compareFn: (a: T, b: T) => number)
src/common.ts:192
↓ 8 callers
Function
setManifest
(fileName: string, content: RepoImageMeta[])
tests/ghw_check_ota_pr.test.ts:98
↓ 8 callers
Function
withOldMetas
(metas: RepoImageMeta)
tests/ghw_reprocess_all_images.test.ts:141
↓ 7 callers
Function
adaptUrl
(originalUrl: string, manifestName: string)
tests/ghw_reprocess_all_images.test.ts:442
↓ 7 callers
Function
findMatchImage
( image: ImageHeader, imageList: RepoImageMeta[], extraMetas: ExtraMetas, )
src/common.ts:146
↓ 7 callers
Function
getImageOriginalDirPath
(imageName: string)
tests/data.test.ts:225
↓ 7 callers
Function
parseImageHeader
(buffer: Buffer)
src/common.ts:102
↓ 6 callers
Function
getOutDir
(folderName: string, basePath: string = BASE_IMAGES_DIR)
src/common.ts:70
↓ 6 callers
Function
getParsedImageStatus
(parsedImage: ImageHeader, match?: RepoImageMeta)
src/common.ts:225
↓ 5 callers
Function
expectNoChanges
(noReadManifest = false)
tests/process_firmware_image.test.ts:75
↓ 5 callers
Function
updateManifests
(github: Octokit, core: typeof CoreApi, context: Context)
src/ghw_update_manifests.ts:10
↓ 4 callers
Function
computeSHA512
(buffer: Buffer)
src/common.ts:62
↓ 4 callers
Function
execute
(command: string)
src/common.ts:46
↓ 4 callers
Function
expectWriteNoChanges
(inBase = true, inPrev = true)
tests/process_firmware_image.test.ts:88
↓ 4 callers
Function
getAdjustedContent
(fileName: string, content: RepoImageMeta[])
tests/data.test.ts:247
↓ 4 callers
Function
getManifest
(fileName: string)
tests/process_firmware_image.test.ts:38
↓ 4 callers
Function
getRepoFirmwareFileUrl
(folderName: string, fileName: string, basePath: string = BASE_IMAGES_DIR)
src/common.ts:80
↓ 4 callers
Function
getValidMetas
(metas: Partial<ExtraMetas & ExtraMetasWithFileName & RepoImageMeta>, ignoreFileName: boolean)
src/common.ts:248
↓ 3 callers
Function
addImageToBase
( logPrefix: string, isNewer: boolean, prevManifest: RepoImageMeta[], prevOutDir: string,
src/common.ts:388
↓ 3 callers
Function
addImageToPrev
( logPrefix: string, isNewer: boolean, prevManifest: RepoImageMeta[], prevMatchIndex: number,
src/common.ts:340
↓ 3 callers
Function
expectNoChanges
(noReadManifest = false)
tests/ghw_update_manifests.test.ts:95
↓ 3 callers
Function
getVersionString
(firmware: FirmwareJson)
src/autodl/ledvance.ts:58
↓ 2 callers
Function
findReleaseNotes
(imagePath: string, manifest: RepoImageMeta[])
src/ghw_create_autodl_release.ts:9
↓ 2 callers
Function
getCacheFileName
(modelId: string)
src/autodl/jethome.ts:39
↓ 2 callers
Function
getChangedOtaFiles
( github: Octokit, core: typeof CoreApi, context: Context, basehead: string, throwIfFilesO
src/ghw_get_changed_ota_files.ts:8
↓ 2 callers
Function
getText
(manufacturer: string, pageUrl: string)
src/common.ts:181
↓ 2 callers
Function
groupByImageType
(arr: Image[])
src/autodl/ubisys.ts:21
↓ 2 callers
Function
groupByProduct
(arr: FirmwareJson[])
src/autodl/ledvance.ts:47
↓ 2 callers
Function
hasManufacturerImage
(list: RepoImageMeta[], image: RepoImageMeta, extraManufacturerName: string[] | undefined)
src/common.ts:203
↓ 2 callers
Function
listItemWithReleaseNotes
(imagePath: string, releaseNotes?: string)
src/ghw_create_autodl_release.ts:15
↓ 2 callers
Function
parseText
(pageText: string)
src/autodl/ubisys.ts:39
↓ 2 callers
Function
processOtaFiles
( github: Octokit, core: typeof CoreApi, context: Context, filePaths: string[], baseManife
src/ghw_process_ota_files.ts:111
↓ 1 callers
Function
changeRepoUrl
(repoUrl: string, fromDir: string, toDir: string)
src/common.ts:166
↓ 1 callers
Function
checkImagesAgainstManifests
(_github: Octokit, core: typeof CoreApi, _context: Context, removeNotInManifest: boolean)
src/ghw_reprocess_all_images.ts:215
↓ 1 callers
Function
download
()
src/autodl/hue.ts:75
↓ 1 callers
Function
download3rdParties
( _github: Octokit, core: typeof CoreApi, _context: Context, /* v8 ignore next */ outDirFinder
src/ghw_reprocess_all_images.ts:62
↓ 1 callers
Function
findInCache
(image: DeviceImageJson, cachedData?: ImagesJson)
src/autodl/sonoff.ts:19
↓ 1 callers
Function
findInCache
(image: DeviceImageJson, cachedData?: ImagesJson)
src/autodl/ikea.ts:36
↓ 1 callers
Function
findInCache
(image: ImageJson, cachedData?: ImagesJson)
src/autodl/salus.ts:17
↓ 1 callers
Function
findInCache
(image: DeviceImageJson, cachedData?: ImagesJson)
src/autodl/ikea_new.ts:32
↓ 1 callers
Function
getFileExtraMetas
(extraMetas: GHExtraMetas, fileName: string)
src/ghw_process_ota_files.ts:29
↓ 1 callers
Function
getImageMeta
(imageList: RepoImageMeta[], current: ImageInfo, device: Device, extraMetas: ExtraMetas)
src/z2m_find_match.ts:32
↓ 1 callers
Function
getImageMetas
( imageList: RepoImageMeta[], imageType: number, manufacturerCode: number, modelId: string | u
src/find_matches.ts:10
↓ 1 callers
Function
getManifest
(fileName: string)
tests/ghw_reprocess_all_images.test.ts:100
↓ 1 callers
Function
getPRBody
(github: Octokit, _core: typeof CoreApi, context: Context)
src/ghw_process_ota_files.ts:42
↓ 1 callers
Function
ignore3rdParty
(meta: RepoImageMeta)
src/ghw_reprocess_all_images.ts:44
↓ 1 callers
Function
isDifferent
(newData: Image, cachedData?: Image)
src/autodl/ubisys.ts:35
↓ 1 callers
Function
isDifferent
(newData: DeviceImageJson, cachedData?: DeviceImageJson)
src/autodl/sonoff.ts:25
↓ 1 callers
Function
isDifferent
(newData: ImageJson, cachedData?: ImageJson)
src/autodl/jethome.ts:43
↓ 1 callers
Function
isDifferent
(newData: ReleaseAssetJson, cachedData?: ReleaseAssetJson)
src/autodl/github.ts:48
↓ 1 callers
Function
isDifferent
(newData: DeviceImageJson, cachedData?: DeviceImageJson)
src/autodl/ikea.ts:43
↓ 1 callers
Function
isDifferent
(newData: ImagesJson, cachedData?: ImagesJson)
src/autodl/gammatroniques.ts:30
↓ 1 callers
Function
isDifferent
(newData: FirmwareJson, cachedData?: FirmwareJson)
src/autodl/ledvance.ts:64
↓ 1 callers
Function
isDifferent
(newData: ImageJson, cachedData?: ImageJson)
src/autodl/salus.ts:21
↓ 1 callers
Function
isDifferent
(newData: DeviceImageJson, cachedData?: DeviceImageJson)
src/autodl/inovelli.ts:28
↓ 1 callers
Function
isDifferent
(newData: DeviceImageJson, cachedData?: DeviceImageJson)
src/autodl/ikea_new.ts:37
↓ 1 callers
Function
isDifferent
(newData: PageJson, cachedData?: PageJson)
src/autodl/hue.ts:56
↓ 1 callers
Function
main
()
src/find_matches.ts:28
↓ 1 callers
Function
main
()
src/z2m_find_match.ts:55
↓ 1 callers
Function
parsePRBodyExtraMetas
(github: Octokit, core: typeof CoreApi, context: Context)
src/ghw_process_ota_files.ts:71
↓ 1 callers
Function
parseSubElements
(otaData: Buffer, totalImageSize: number)
src/ghw_identify_stacks.ts:53
↓ 1 callers
Function
resetManifests
()
tests/ghw_update_manifests.test.ts:90
↓ 1 callers
Function
resetManifests
()
tests/ghw_check_ota_pr.test.ts:110
↓ 1 callers
Function
resetManifests
()
tests/process_firmware_image.test.ts:62
↓ 1 callers
Function
resetManifests
()
tests/ghw_reprocess_all_images.test.ts:136
↓ 1 callers
Function
tarExtract
(filePath: string, outDir: string, tarImageFinder: (fileName: string) => boolean)
src/process_firmware_image.ts:31
↓ 1 callers
Function
throwError
(comment: string)
src/ghw_check_ota_pr.ts:21
↓ 1 callers
Function
writeCache
()
src/autodl/hue.ts:64
Function
concatCaCerts
(_github: Octokit, core: typeof CoreApi, _context: Context)
src/ghw_concat_cacerts.ts:11
Function
createAutodlRelease
(github: Octokit, core: typeof CoreApi, context: Context)
src/ghw_create_autodl_release.ts:32
Function
createPRToDefault
( github: Octokit, core: typeof CoreApi, context: Context, fromBranchName: string, title:
src/ghw_create_pr_to_default.ts:8
Function
download
()
src/autodl/xyzroe.ts:11
Function
download
()
src/autodl/ubisys.ts:71
Function
download
()
src/autodl/sonoff.ts:37
Function
download
()
src/autodl/jethome.ts:58
Function
download
(manufacturer: string, releasesUrl: string, assetFinders: AssetFindPredicate[], extraMetas: ExtraMetas)
src/autodl/github.ts:60
Function
download
()
src/autodl/ikea.ts:60
Function
download
()
src/autodl/gammatroniques.ts:45
Function
download
()
src/autodl/ledvance.ts:76
Function
download
()
src/autodl/salus.ts:33
Function
download
()
src/autodl/lixee.ts:13
Function
download
()
src/autodl/inovelli.ts:40
Function
download
()
src/autodl/ikea_new.ts:49
Function
get3rdPartyDir
(meta: RepoImageMeta)
src/ghw_reprocess_all_images.ts:54
Function
getJson
(manufacturer: string, pageUrl: string)
src/common.ts:170
next →
1–100 of 125, ranked by callers