When release, this workflow will be triggered to complete subsequent work.
1 Push harbor images to dockerhub.
2 Upload asset to release.
3 Generate release notes using the .github/release.yml template.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
* README.md: fix links to badges
the links to badges are still referring to "master" branch instead of "main". this commit fixes it.
* README.md: fix Restful API links to swagger editor
The links to swagger editor had the URL paths to the master branch which has hence been renamed. This leads to swagger editor failing to open the API links. this commit fixes that.
The tag/lable filter only works on the subject manifest, and if the subject manifest is mathed, all the accessories are marked as matched.
Signed-off-by: Wang Yan <wangyan@vmware.com>
* Add date/time format setting in portal
Currently, the format used for rendering dates and times is derived from the language/locale selected by the user. The formats used in the en-US locale ("English" in Harbor's GUI) are ambiguous and hard to understand for many users.
For example, is 10/11/21 the 10th of November, 2021, the 11th of October, 2021, or even something else like the 21nd of November, 2010? Even if one does know how to interpret it in theory, such dates are essentially enciphered and must be mentally deciphered by the user every time, incurring unnecessary cognitive load.
Similarly, many users are used to the 24-hour clock rather than the 12-hour clock (AM/PM), and so on.
This PR adds a dropdown next to the existing language selector that lets the user choose between the default format for the current locale and the internationally standardized, unambiguous ISO 8601 format. For example, when viewing a list of resources, the ISO 8601 option makes points in time display as
> 2021-10-11, 13:37
instead of
> 10/11/21, 1:37 PM
thereby improving the user experience considerably for users not familiar with the US date/time format (or, in general, the default format for the locale they have selected).
The localized versions of the "Default" label are copied from `SCANNER.DEFAULT` in each locale.
Signed-off-by: Simon Alling <alling.simon@gmail.com>
* Fix indentation
Signed-off-by: Simon Alling <alling.simon@gmail.com>
* Remove redundant localStorage existence check
Signed-off-by: Simon Alling <alling.simon@gmail.com>
* Run 'npm run lint -- --fix'
Implement cache layer for resource manifest, it will read manifest
from cache instead of proxying to distribution if enabled.
Signed-off-by: chlins <chenyuzh@vmware.com>
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install.sh
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install.sh001
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install002
Signed-off-by: yminer <yminer@vmmware.com>
use curl binary to download golangcilint instead of go get
Signed-off-by: yminer <yminer@vmmware.com>
test ut-ci make lint
Signed-off-by: yminer <yminer@vmmware.com>
check ci GO111MODULE
Signed-off-by: yminer <yminer@vmmware.com>
test ci go env
Signed-off-by: yminer <yminer@vmmware.com>
test ci goenv 002
Signed-off-by: yminer <yminer@vmmware.com>
test ci GO111MODULE=auto
Signed-off-by: yminer <yminer@vmmware.com>
ci test entire ut_install.sh
Signed-off-by: yminer <yminer@vmmware.com>
remove needless debug comment
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>