Canonical yalengeza kukonzanso kwa Snapcraft 

Ovomerezeka ovomerezeka posachedwapa mapulani anu muli nawo lotsatira kukonzanso kwakukulu kwa zida za Snapcraft, yomwe imagwiritsidwa ntchito popanga, kugawa ndikusintha mtundu wotchuka wa phukusi la Snap.

Tiyenera kukumbukira kuti Snapcraft codebase yamakono adalengezedwa kuti ndi cholowa ndipo adzagwiritsidwa ntchito ngati kuli kofunikira gwiritsani ntchito matekinoloje akale.

Mu malonda ake amatchula zimenezo kuchokera pakusintha kwakukulu zomwe zakonzedwa kuti ziphedwe, ndi zina mwa izo zomwe zikuchitika kale sizikhudza mawonekedwe omwe akugwiritsidwa ntchito, monga Ubuntu Core 18 ndi mapulojekiti okhudzana ndi 20 apitiliza kugwiritsa ntchito mtundu wakale wa monolithic Snapcraft.

Kuphatikiza apo, akuti mtundu watsopano wa Snapcraft modular wakonzekera kuti uyamba kugwiritsidwa ntchito kuchokera ku nthambi ya Ubuntu Core 22.

Kunena zoona, zinthu zimakhala zovuta kwambiri ndipo nthawi zambiri zimakhala zovuta kwambiri. Kwa zaka zisanu ndi chimodzi zapitazi, gulu la Snapcraft lakhala likugwira ntchito kuti zinthu zawo zazikulu zikhale zokhazikika, zogwira mtima, komanso zothandiza kwa opanga Snap, kukulitsa magwiridwe antchito ndikubweretsa maluso atsopano pakapita nthawi. Mwanjira ina, ndi chinthu chathunthu ndipo chimakwaniritsa cholinga chake bwino. Koma pali njira zopangira zinthu kukhala zabwinoko. Nkhaniyi ikuyang'ana tsogolo la Snapcraft.

Pazifukwa zomwe zimapangidwira kusintha Snapcraft yakale, ndichifukwa se akufuna kupereka njira yatsopano, yophatikizika komanso yokhazikika zomwe zipangitsa kuti zikhale zosavuta kwa omanga kupanga mapepala a Snap, kuwonjezera pa izi kuti akufunanso kuthetsa kamodzi kokha kuti apange mapepala onyamula omwe amagwira ntchito pazogawa zonse.

Maziko a Snapcraft yatsopano ndi makina a Craft Parts, akunenedwa kuti kuwonjezera pa kulola kusonkhanitsa phukusi, idzatha kulandira zambiri kuchokera kuzinthu zosiyanasiyana, kuzikonza m'njira zosiyanasiyana ndikupanga mndandanda wa zolemba mu FS, yoyenera kukhazikitsa phukusi. .

Craft Parts imaphatikizapo kugwiritsa ntchito zida zonyamulika mu pulojekitiyi, zomwe zitha kutsitsidwa, kusonkhanitsidwa ndikuyika paokha.

Lingaliro loyambira limazungulira kugawa Snapcraft kukhala ting'onoting'ono, ngakhale tinthu tating'ono ting'onoting'ono komanso tomwe timagwiritsidwanso ntchito zomwe zitha kugwiritsidwa ntchito pazinthu zosiyanasiyana. Zomwe zimafanana pakuchita izi ndi gulu la Craft Library, monga takambirana kale mu Craft Part blog positi. Chiphunzitsochi chimafuna kugwiritsa ntchito jenereta ya generic part generator kutengera mavenda aluso ndi zida zaluso, ndikuwonjezera magwiridwe antchito a Snapcraft ngati gawo losiyana. Funso lokha ndiloti, Kodi mphepo yamzenye ndi chiyani? Zingakhale zovuta bwanji kupanga ndi kukhazikitsa izi?

Nyengo ya tchuthi itangotsala pang'ono, gulu la Snapcraft lidayamba kuyankha funso lenilenilo ndikuwunika momwe amayendera.

Kusankha kukhazikitsa kwatsopano kapena Snapcraft yakale zidzachitika kudzera mwa njira yapadera yosunga zobwezeretsera pomanga. Chifukwa chake, ma projekiti omwe alipo azitha kupanga mapaketi a Snap popanda kusintha ndipo adzafunika kusinthidwa pokhapokha phukusi likasamutsidwa ku mtundu watsopano wa Ubuntu Core system base.

Ponena za ntchito yomwe yachitika kale, chidule chake chofulumira kwambiri chikugawidwa:

  • Codebase yamakono ya Snapcraft tsopano imatengedwa ngati cholowa.
  • Cholowa chachikulu cha phukusili chimayenda pakafunika zosunga zobwezeretsera za Snapcraft.
  • Legacy Snapcraft imasunga zosintha zama projekiti mumtanthauzira mawu.
  • Izi zidasinthidwa kuti zigwiritse ntchito pydantic model. Komanso, schema ya JSON iyenera kukhala yosiyana.
  • Chojambula chosavuta chidapangidwa pogwiritsa ntchito core22 base (chithunzi chachitukuko), zomwe zidapangitsa kuti pakhale phukusi lokhazikika lomwe lili ndi pulogalamu yoyeserera.

Mapeto ngati mukufuna kudziwa zambiri za izi Pazolemba, mutha kuyang'ana chilengezo choyambirira mu kutsatira ulalo.


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Khalani oyamba kuyankha

Siyani ndemanga yanu

Anu email sati lofalitsidwa.

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.