Skip to content

Commit

Permalink
Use static repo list while the gitee API for repo query is not working
Browse files Browse the repository at this point in the history
Currently the gitee API to query the repos for an organization is
retruning a HTTP 500 error. Switchign over to a static list for now
until this is fixed.

https://gitee.com/oschina/git-osc/issues/IAA00L
Yikun/hub-mirror-action#191

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
  • Loading branch information
Stefan-Schmidt committed Jul 5, 2024
1 parent 4b791fa commit 1ef2917
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,10 @@ jobs:
output7: ${{ steps.list7.outputs.repo_list7 }}
output8: ${{ steps.list8.outputs.repo_list8 }}
steps:
- uses: Stefan-Schmidt/hub-mirror-action@master
id: list
with:
src: gitee/openharmony
dst: github/eclipse-oniro-mirrors
dst_key: ${{ secrets.SSH_PRIVATE_KEY }}
dst_token: ${{ secrets.TOKEN }}
src_account_type: org
dst_account_type: org
list_only: true
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Split list into chunks
run: echo ${{ steps.list.outputs.repo_list }} | .github/workflows/split-list.py
run: cat .github/workflows/repo-list.txt | .github/workflows/split-list.py
- name: Print out list 1
id: list1
run: echo "repo_list1=$(cat repo_list1.txt)" >> $GITHUB_OUTPUT
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/repo-list.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.gitee,aafwk_aafwk_lite,aafwk_standard,ability_ability_base,ability_ability_lite,ability_ability_runtime,ability_dmsfwk,ability_dmsfwk_lite,ability_form_fwk,ability_idl_tool,accessibility,account_os_account,ace_ace_engine,ace_engine_lite,ace_napi,advertising_ads_framework,advertising_oaid,ai_engine,ai_intelligent_voice_framework,ai_neural_network_runtime,app_samples,appexecfwk_appexecfwk_lite,appexecfwk_standard,applications_admin_provisioning,applications_app_samples,applications_auth_widget,applications_calendar_data,applications_call,applications_camera,applications_camera_sample_communication,applications_camera_screensaver_app,applications_contacts,applications_contacts_data,applications_contactsdata,applications_dlp_manager,applications_filepicker,applications_hap,applications_launcher,applications_mms,applications_notes,applications_permission_manager,applications_photos,applications_print_spooler,applications_sample_camera,applications_sample_wifi_iot,applications_screenlock,applications_screenshot,applications_settings,applications_settings_data,applications_systemui,applications_theme,ark_js_runtime,ark_runtime_core,ark_ts2abc,arkcompiler_ets_frontend,arkcompiler_ets_runtime,arkcompiler_runtime_core,arkcompiler_toolchain,arkui_ace_engine,arkui_ace_engine_lite,arkui_advanced_ui_component,arkui_napi,arkui_ui_appearance,arkui_ui_lite,arkXtest,base_location,build,build_lite,bundlemanager_app_domain_verify,bundlemanager_bundle_framework,bundlemanager_bundle_framework_lite,bundlemanager_bundle_tool,bundlemanager_distributed_bundle_framework,bundlemanager_ecological_rule_manager,castengine_cast_framework,castengine_cast_plus_stream,castengine_wifi_display,codelabs,commonlibrary_c_utils,commonlibrary_ets_utils,commonlibrary_memory_utils,commonlibrary_rust_ylong_http,commonlibrary_rust_ylong_json,commonlibrary_rust_ylong_runtime,commonlibrary_utils_lite,communication_bluetooth,communication_bluetooth_service,communication_connected_nfc_tag,communication_dhcp,communication_dsoftbus,communication_ipc,communication_ipc_lite,communication_netmanager_base,communication_netmanager_ext,communication_netmanager_standard,communication_netstack,communication_nfc,communication_sfc_newip,communication_softbus_lite,communication_wifi,communication_wifi_aware,communication_wifi_lite,community,customization_config_policy,customization_enterprise_device_management,developtools_ace_ets2bundle,developtools_ace_js2bundle,developtools_ace-ets2bundle,developtools_ace-js2bundle,developtools_bytrace,developtools_bytrace_standard,developtools_global_resource_tool,developtools_hapsigner,developtools_hdc,developtools_hdc_standard,developtools_hiperf,developtools_integration_verification,developtools_packing_tool,developtools_profiler,developtools_smartperf_host,developtools_syscap_codec,device_bearpi_bearpi_hm_nano,device_board_bearpi,device_board_beken,device_board_chipsea,device_board_fnlink,device_board_goodix,device_board_hihope,device_board_hisilicon,device_board_hpmicro,device_board_isoftstone,device_board_kaihong,device_board_lango,device_board_lockzhiner,device_board_openvalley,device_board_osware,device_board_seed,device_board_talkweb,device_board_telink,device_board_unionman,device_hihope,device_hisilicon_build,device_hisilicon_drivers,device_hisilicon_hardware,device_hisilicon_hi3516dv300,device_hisilicon_hispark_aries,device_hisilicon_hispark_pegasus,device_hisilicon_hispark_taurus,device_hisilicon_modules,device_hisilicon_third_party_ffmpeg,device_hisilicon_third_party_uboot,device_manager,device_profile_core,device_qemu,device_soc_allwinner,device_soc_amlogic,device_soc_asrmicro,device_soc_beken,device_soc_bestechnic,device_soc_chipsea,device_soc_esp,device_soc_gigadevice,device_soc_goodix,device_soc_hisilicon,device_soc_hpmicro,device_soc_nxp,device_soc_rockchip,device_soc_st,device_soc_telink,device_soc_winnermicro,deviceprofile_device_info_manager,distributed_camera,distributed_hardware_fwk,distributed_screen,distributeddatamgr_appdatamgr,distributeddatamgr_data_object,distributeddatamgr_data_share,distributeddatamgr_datamgr,distributeddatamgr_datamgr_service,distributeddatamgr_file,distributeddatamgr_kv_store,distributeddatamgr_objectstore,distributeddatamgr_pasteboard,distributeddatamgr_preferences,distributeddatamgr_relational_store,distributeddatamgr_udmf,distributedhardware_device_manager,distributedhardware_distributed_audio,distributedhardware_distributed_camera,distributedhardware_distributed_hardware_fwk,distributedhardware_distributed_input,distributedhardware_distributed_screen,distributedschedule_dms_fwk,distributedschedule_dms_fwk_lite,distributedschedule_safwk,distributedschedule_safwk_lite,distributedschedule_samgr,distributedschedule_samgr_lite,distribution,docs,drivers_adapter,drivers_adapter_khdf_linux,drivers_external_device_manager,drivers_framework,drivers_hdf_core,drivers_interface,drivers_liteos,drivers_peripheral,filemanagement_app_file_service,filemanagement_dfs_service,filemanagement_file_api,filemanagement_storage_service,filemanagement_user_file_service,frame_aware_sched,global_cust_lite,global_i18n,global_i18n_lite,global_i18n_standard,global_resmgr_lite,global_resmgr_standard,global_resource_management,global_resource_management_lite,global_resource_tool,global_system_resources,global_timezone,graphic_graphic_2d,graphic_graphic_3d,graphic_graphic_surface,graphic_graphic_utils_lite,graphic_standard,graphic_surface,graphic_surface_lite,graphic_ui,graphic_utils,graphic_wms,hiviewdfx_blackbox,hiviewdfx_blackbox_lite,hiviewdfx_faultloggerd,hiviewdfx_hiappevent,hiviewdfx_hichecker,hiviewdfx_hicollie,hiviewdfx_hidumper,hiviewdfx_hidumper_lite,hiviewdfx_hievent_lite,hiviewdfx_hilog,hiviewdfx_hilog_lite,hiviewdfx_hisysevent,hiviewdfx_hitrace,hiviewdfx_hiview,hiviewdfx_hiview_lite,ide_previewer,inputmethod_imf,interface_sdk_c,interface_sdk-js,iot_link,iothardware_peripheral,js_api_module,js_sys_module,js_util_module,js_worker_module,kernel_common_modules_newip,kernel_linux,kernel_linux_4.19,kernel_linux_5.10,kernel_linux_build,kernel_linux_common_modules,kernel_linux_config,kernel_linux_patches,kernel_liteos_a,kernel_liteos_m,kernel_uniproton,linux_frame_aware_sched,manifest,miscservices_inputmethod,miscservices_pasteboard,miscservices_request,miscservices_screenlock,miscservices_time,miscservices_wallpaper,msdp_device_status,multimedia_audio_framework,multimedia_audio_lite,multimedia_audio_standard,multimedia_av_codec,multimedia_av_session,multimedia_camera_framework,multimedia_camera_lite,multimedia_camera_standard,multimedia_drm_framework,multimedia_histreamer,multimedia_image_effect,multimedia_image_framework,multimedia_image_standard,multimedia_media_foundation,multimedia_media_library,multimedia_media_lite,multimedia_media_standard,multimedia_media_utils_lite,multimedia_medialibrary_standard,multimedia_player_framework,multimedia_utils_lite,multimodalinput_input,napi_generator,neural_network_runtime,notification_ans_standard,notification_ces_standard,notification_common_event_service,notification_distributed_notification_service,notification_eventhandler,ohos_bundles,ostest_wukong,powermgr_battery_lite,powermgr_battery_manager,powermgr_battery_statistics,powermgr_display_manager,powermgr_power_manager,powermgr_powermgr_lite,powermgr_thermal_manager,prebuilts_aosp_libs,prebuilts_lite_sysroot,print_print_fwk,productdefine_common,release-management,repohooks,request_request,resources,resourceschedule_background_task_mgr,resourceschedule_device_standby,resourceschedule_device_usage_statistics,resourceschedule_ffrt,resourceschedule_memmgr,resourceschedule_qos_manager,resourceschedule_resource_schedule_service,resourceschedule_soc_perf,resourceschedule_work_scheduler,security,security_access_token,security_appverify,security_asset,security_certificate_framework,security_certificate_manager,security_code_signature,security_crypto_framework,security_dataclassification,security_device_auth,security_device_security_level,security_deviceauth,security_dlp_permission_service,security_huks,security_itrustee_ree_lite,security_permission,security_permission_lite,security_privacy_center,security_security_component_manager,security_security_guard,security_selinux,security_selinux_adapter,sensors_medical_sensor,sensors_miscdevice,sensors_miscdevice_lite,sensors_sensor,sensors_sensor_lite,sensors_start,signcenter_tool,startup_appspawn,startup_appspawn_lite,startup_bootstrap_lite,startup_hvb,startup_init,startup_syspara_lite,systemabilitymgr_safwk,systemabilitymgr_safwk_lite,systemabilitymgr_samgr,systemabilitymgr_samgr_lite,tee_tee_client,tee_tee_tzdriver,telephony_call_manager,telephony_cellular_call,telephony_cellular_data,telephony_core_service,telephony_data_storage,telephony_ril_adapter,telephony_sms_mms,telephony_state_registry,telephony_telephony_data,test_developertest,test_xdevice,testfwk_arkxtest,testfwk_developer_test,testfwk_xdevice,theme_screenlock_mgr,theme_wallpaper_mgr,third_party_abseil-cpp,third_party_alsa-lib,third_party_alsa-utils,third_party_astc-encoder,third_party_benchmark,third_party_boost,third_party_boringssl,third_party_bounds_checking_function,third_party_bpftool,third_party_bzip2,third_party_cares,third_party_cef,third_party_chromium,third_party_cJSON,third_party_cmake,third_party_cmsis,third_party_cryptsetup,third_party_css-what,third_party_cups,third_party_cups-filters,third_party_curl,third_party_e2fsprogs,third_party_egl,third_party_ejdb,third_party_elfio,third_party_elfutils,third_party_eudev,third_party_exfat-utils,third_party_exfatprogs,third_party_expat,third_party_f2fs-tools,third_party_FatFs,third_party_ffmpeg,third_party_flatbuffers,third_party_flutter,third_party_FreeBSD,third_party_freetype,third_party_fsck_msdos,third_party_fsverity-utils,third_party_gettext,third_party_giflib,third_party_glfw,third_party_glib,third_party_glslang,third_party_gn,third_party_googletest,third_party_gptfdisk,third_party_grpc,third_party_gstreamer,third_party_harfbuzz,third_party_icu,third_party_iniparser,third_party_iowow,third_party_iptables,third_party_jerryscript,third_party_jinja2,third_party_jsframework,third_party_json,third_party_JSON-C,third_party_jsoncpp,third_party_libabigail,third_party_libbpf,third_party_libcoap,third_party_libdrm,third_party_libedit,third_party_libevdev,third_party_libexif,third_party_libffi,third_party_libfuse,third_party_libinput,third_party_libjpeg,third_party_libjpeg-turbo,third_party_libnl,third_party_libphonenumber,third_party_libpng,third_party_libpsl,third_party_libsnd,third_party_libsoup,third_party_libunwind,third_party_libusb,third_party_libuuid,third_party_libuv,third_party_libwebsockets,third_party_libxkbcommon,third_party_libxml2,third_party_Linux_Kernel,third_party_littlefs,third_party_lldb-mi,third_party_llvm-project,third_party_ltp,third_party_LVM2,third_party_lwip,third_party_lz4,third_party_lzma,third_party_markupsafe,third_party_mbedtls,third_party_mesa3d,third_party_mimalloc,third_party_mindspore,third_party_mingw-w64,third_party_minimp3,third_party_minimp4,third_party_miniz,third_party_mksh,third_party_mtd_utils,third_party_mtdev,third_party_musl,third_party_musl2,third_party_ncurses,third_party_newfs_msdos,third_party_nghttp2,third_party_ninja,third_party_node,third_party_noto-cjk,third_party_notofonts,third_party_ntfs-3g,third_party_NuttX,third_party_opencl-headers,third_party_opengles,third_party_openh264,third_party_openmax,third_party_opensles,third_party_openssl,third_party_optimized_routines,third_party_parse5,third_party_pcre2,third_party_pixman,third_party_popt,third_party_protobuf,third_party_pulseaudio,third_party_python,third_party_pyyaml,third_party_qrcodegen,third_party_quickjs,third_party_re2,third_party_rt_thread,third_party_rust_aho-corasick,third_party_rust_atty,third_party_rust_autocfg,third_party_rust_bindgen,third_party_rust_bitflags,third_party_rust_bytes,third_party_rust_cc-rs,third_party_rust_cfg-if,third_party_rust_clang-sys,third_party_rust_clap,third_party_rust_codespan,third_party_rust_cxx,third_party_rust_either,third_party_rust_encoding_rs,third_party_rust_env_logger,third_party_rust_foreign-types,third_party_rust_futures-rs,third_party_rust_glob,third_party_rust_h2,third_party_rust_hashbrown,third_party_rust_heck,third_party_rust_http,third_party_rust_http-body,third_party_rust_httparse,third_party_rust_httpdate,third_party_rust_humantime,third_party_rust_hyper,third_party_rust_hyper-tls,third_party_rust_indexmap,third_party_rust_io-lifetimes,third_party_rust_ipnet,third_party_rust_is-terminal,third_party_rust_itoa,third_party_rust_lazy-static.rs,third_party_rust_lazycell,third_party_rust_libc,third_party_rust_libloading,third_party_rust_link-cplusplus,third_party_rust_linux-raw-sys,third_party_rust_log,third_party_rust_memchr,third_party_rust_memoffset,third_party_rust_mime,third_party_rust_minimal-lexical,third_party_rust_mio,third_party_rust_nix,third_party_rust_nom,third_party_rust_num_cpus,third_party_rust_num-traits,third_party_rust_once_cell,third_party_rust_openssl-probe,third_party_rust_os_str_bytes,third_party_rust_parking_lot,third_party_rust_peeking_take_while,third_party_rust_pin-project-lite,third_party_rust_pin-utils,third_party_rust_pkg-config-rs,third_party_rust_proc-macro-error,third_party_rust_proc-macro2,third_party_rust_quote,third_party_rust_regex,third_party_rust_reqwest,third_party_rust_rust-base64,third_party_rust_rust-cexpr,third_party_rust_rust-fnv,third_party_rust_rust-native-tls,third_party_rust_rust-openssl,third_party_rust_rust-smallvec,third_party_rust_rust-std-candidates,third_party_rust_rust-url,third_party_rust_rustc-hash,third_party_rust_rustix,third_party_rust_ryu,third_party_rust_scopeguard,third_party_rust_serde,third_party_rust_serde_urlencoded,third_party_rust_shlex,third_party_rust_signal-hook,third_party_rust_slab,third_party_rust_socket2,third_party_rust_static-assertions-rs,third_party_rust_strsim-rs,third_party_rust_syn,third_party_rust_termcolor,third_party_rust_tinyvec,third_party_rust_tinyvec_macros,third_party_rust_tls,third_party_rust_tokio,third_party_rust_tower,third_party_rust_tracing,third_party_rust_try-lock,third_party_rust_unicode-bidi,third_party_rust_unicode-ident,third_party_rust_unicode-normalization,third_party_rust_unicode-width,third_party_rust_version_check,third_party_rust_want,third_party_rust_which-rs,third_party_selinux,third_party_skia,third_party_spirv-headers,third_party_spirv-tools,third_party_sqlite,third_party_tinyalsa,third_party_toybox,third_party_typescript,third_party_typescript_eslint,third_party_tzdata,third_party_u-boot,third_party_unity,third_party_vixl,third_party_vk-gl-cts,third_party_vulkan-headers,third_party_vulkan-loader,third_party_wayland_standard,third_party_wayland-ivi-extension,third_party_wayland-protocols_standard,third_party_weex-loader,third_party_weston,third_party_wpa_supplicant,third_party_xkeyboardconfig,third_party_zlib,time_time_service,tools_previewer,update_app,update_ota_lite,update_packaging_tools,update_sys_installer,update_sys_installer_lite,update_update_app,update_update_service,update_updater,update_updateservice,usb_manager,usb_usb_manager,useriam_auth_executor_mgr,useriam_face_auth,useriam_faceauth,useriam_fingerprint_auth,useriam_pin_auth,useriam_user_auth,useriam_user_auth_framework,useriam_user_idm,utils,utils_native,utils_native_lite,utils_selinux_policy_standard,utils_system_resources,vendor_alientek,vendor_asrmicro,vendor_bearpi,vendor_beken,vendor_bestechnic,vendor_chipsea,vendor_goodix,vendor_hihope,vendor_hisilicon,vendor_hpmicro,vendor_huawei_hdf,vendor_isoftstone,vendor_kaihong,vendor_lockzhiner,vendor_ohemu,vendor_ohos,vendor_openvalley,vendor_osware,vendor_seed,vendor_talkweb,vendor_telink,vendor_unionman,web_webview,window_window_manager,window_window_manager_lite,windowmanager,wukong,xts_acts,xts_dcts,xts_device_attest,xts_device_attest_lite,xts_hats,xts_tools,xts_tools_full

0 comments on commit 1ef2917

Please sign in to comment.