diff options
author | Julien Roy <julien@jroy.ca> | 2024-02-24 12:02:05 -0500 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2024-02-24 12:02:08 -0500 |
commit | 27a8895b67ca7add2546993ed0a5b25a266c3d36 (patch) | |
tree | 3932ffc8c26ec40f7de1e2a3b6826b7a1bae4b96 /app-shells | |
parent | app-misc/pup: treeclean (diff) | |
download | guru-27a8895b67ca7add2546993ed0a5b25a266c3d36.tar.gz guru-27a8895b67ca7add2546993ed0a5b25a266c3d36.tar.bz2 guru-27a8895b67ca7add2546993ed0a5b25a266c3d36.zip |
app-shells/antibody: treeclean
Flagged for removal since >30 days
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/antibody/Manifest | 34 | ||||
-rw-r--r-- | app-shells/antibody/antibody-6.1.1-r1.ebuild | 78 | ||||
-rw-r--r-- | app-shells/antibody/files/6.0.1-remove-failing-tests.patch | 419 | ||||
-rw-r--r-- | app-shells/antibody/files/antibody-6.1.1_remove-failing-tests.patch | 422 | ||||
-rw-r--r-- | app-shells/antibody/metadata.xml | 16 |
5 files changed, 0 insertions, 969 deletions
diff --git a/app-shells/antibody/Manifest b/app-shells/antibody/Manifest deleted file mode 100644 index 7b40bef2b..000000000 --- a/app-shells/antibody/Manifest +++ /dev/null @@ -1,34 +0,0 @@ -DIST antibody-6.1.1.tar.gz 53625 BLAKE2B a348c022d0942b00d5e5dc2aeb257b7dbb589be592d340ec69e0a4539e1f5b4abf7c2585fd072fa82f9219b0bf3f41858095f13a475ac93d5ebacf20e429400b SHA512 0a436227d195b1e68be03d62d0f7fab0f10c4434df10e047468809a6dcf330623c54ddf4e52c459d7b816a3be977e62c6aba58408881f9a45583456e37614b04 -DIST github.com%2Falecthomas%2Ftemplate%2F@v%2Fv0.0.0-20190718012654-fb15b899a751.mod 38 BLAKE2B 2e1a897393e3527f0f82e6ab9baf62558d9cf54b56ada5d79aa1b206128de30395d9082bc600c4aa2a17e81095e429cc5874de95047854531cccc9ea0b867de7 SHA512 072ca7ba3d5ca815f58848db201002cc572d95334aeacfe44cb226505ad20d82ce06eb2ee059650912ae499db6291822c583296cb65a66e54adce62d6d850929 -DIST github.com%2Falecthomas%2Ftemplate%2F@v%2Fv0.0.0-20190718012654-fb15b899a751.zip 66303 BLAKE2B 4b02e631a3537d577b78b1372f8496113c582bfaafc48f5ce6981ed72da6a611d6c692a85c6e7cc8aeb47c89d0fec9f491d59607ead55d5e4be256525d3173bb SHA512 d29dc8a3c82c34af07b0c393349eda79b30c988d439771e02106bf2f386ef5fc3feaebf00da3953a40bff2c5ed93880ecbf45e1607303c11a417bfffb96e2e65 -DIST github.com%2Falecthomas%2Funits%2F@v%2Fv0.0.0-20190924025748-f65c72e2690d.mod 79 BLAKE2B 51cb1c2c33300626f74f843ce56c333b194b9a46230d3befe94343fe9daa62314a59b74a6d78c97415f839997fb42700c762fe02ef76240924ba52d18f723ad6 SHA512 df2dd357e057bb1fc65ef4869f64149f6446257406886e89a39f7dbc7e6c9da25a8c17567b14c8d3adefaf21fba98e0f2663924c7d32a4f82d30377ab4032162 -DIST github.com%2Falecthomas%2Funits%2F@v%2Fv0.0.0-20190924025748-f65c72e2690d.zip 7096 BLAKE2B dd3436eacdcf42567210b68830f6a9663ed91531d73aa6c2548f50e387d7081a0908478135816a599014a82e23fd6ca9c2685ce8518c6ca73bce24a9f0ff5f6d SHA512 6111f8ea08657e90dce1ae450736cbc3a6e10cd61ee5211ef4cbb1abe1862d0fa658ef2922b6778084d10af3f3c55744962162bf9fbdf48d2c42f6a15b297ea2 -DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e -DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e -DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.zip 60320 BLAKE2B 86bdbc333e5c23ccf4f805945ca9f2aecc5c242d2ae824d20127eceaa2bf7bbab239ff2799572a2c8fa206166a36e97d5eccc8fc5021743d8ad32f39cd53b9eb SHA512 7b4e4df2fea731e23e05437f26f24e32b2e99028d685b72e3a726c1cb616ada4a77ca4fb9db4a6fae48178cc5172e724b74499bc776d63a9110cb97377d5edeb -DIST github.com%2Fgetantibody%2Ffolder%2F@v%2Fv1.0.0.mod 37 BLAKE2B 49ba5a24d557eaea97dbcab5215c9397751d67803ade4e0cf7944c4df9fa901237d0b2dcda6e84ac2107709029ced4a923dac5d0cf0956d3a9f0a9a434707804 SHA512 6e3974583d84e44e60071ef1b448ec76b04d70b5499d409289cbfc443d64573562931d92603f31c7bbea527e74b7b2812c4612b9c0b41800f29443529329c837 -DIST github.com%2Fgetantibody%2Ffolder%2F@v%2Fv1.0.0.zip 2547 BLAKE2B 971f3ed0e75d5526ae1aa5814291e02f9f2b6b22d901c0236f10f56451e5b79cf44aeca06d7cbf2604801672ecfdbbc790d4651c8dc0b3c7a865f0d08a0f54c6 SHA512 b94675f7d794357b6dc9cb346985bf5a09e8a772453a0fbb9bcb2338ff2d21eba0d549b7ec94405b828039d7d36858a9b29daa2447e549d67c33bcff04f07757 -DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902 -DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.zip 12433 BLAKE2B 0c911c9d173080abd8edbbab1f47222343801d8eeae36b4add24773e3282fc2a39283fdf519a3d4483e39cdb7d9509b8570d151f46841ac1a616f312dc4cb0ba SHA512 3b85697185ba85cdef6202444ab6cabeabfad8a03d66b3839a852586b1f91ddae7897a57c8c138d5647022aa44906c7ef3c5339d520f90eeea0742a935da8cf2 -DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5 -DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.4.0.mod 179 BLAKE2B 3bb7cee3118f0d335ade107dfefc3a594dc3883564fe4c9e96d615e179d394a49a3d6cd6584ba9c684772bc3dc6479af6a168dd3841c03957252667384f6ba11 SHA512 243bf1f69c146252164ad72f853773dcc77f15d7c9e9b731bee26a95e7c8f4ce9ed9738db601b01edb82f4b3808873e1f153a6d4a0c97be0babbe65abc0f8d52 -DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.6.1.mod 216 BLAKE2B c597010cf6690e73cd265e800f0f0bbea331fb76217457b6326f5a19481eca044aa5426fa32519870b2f0f4b3bed95768a23d3138dbcc9739b7cf7e044f50668 SHA512 197e6ef15edb27ded67ccfb636c252fe522f0930ff012341a4b593f25b5dd8282e4f658970931cfdeb8f2c5ee0b4ebac6738fe7634bf00896d12270fcbf4b31b -DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.6.1.zip 98541 BLAKE2B 369a625a7b05ee56619698e8067ee7b99a9d0508db655aefd23cf42f5ee1abb150a6b262be089fce6951f84fe9f1cc0fa46b75830b851888fd17f123852558e7 SHA512 073f44125d4bbce27d69b914385e05028c4d275585e275ff1ee2ffe299059646394163dde2b6b5c175ac9379d388fe34c1c874deda4138121541e2a639d7635f -DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e -DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20200709230013-948cd5f35899.mod 155 BLAKE2B 8bba3353db8ceb3b9fe40b8fd59aacde169776a4a553a069a04836bbf15e5a9a8d7a2d39feed98dac6cb890198180fda39f26b528ff95f24c5b2bbf6601b45c3 SHA512 7c5a755a03063d47d259fda0a6c2faa63c2f30b98dbac583e106aaa817d6cde3e07551e0b5e08f3a25db4c4ca45a23cebe993ae6f3d39c88deeaf2c7d8086a06 -DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20200709230013-948cd5f35899.zip 1876217 BLAKE2B 6ccbf46dcc9a97f60214af41470bc123c8b48a46737792d063ed6db50e937fdb87223032ff8f3c4d3f5ad0542a63e230ef70fa79ce681ab1ce71431b8a40caad SHA512 4795794202014a02396ae6e774ac5d9882d50c928660424f90798d806b1b5fd69f59e2bb23c5bf12a5841787cbc2f38142104b4427358dd527e539201415b35c -DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2 -DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20200625203802-6e8e738ad208.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0 -DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20200625203802-6e8e738ad208.zip 27028 BLAKE2B 1148f5197f3701698ea33c6185b918fdada2b3f55d401dfb90d33731dfe80b53bfdd891df3c4fa572606cd88963de20d9b44f5296946d80aa0daedbdf6b658a7 SHA512 a93111e63671ef38bdf0ae2bd9209d6b3d7dc9ad138077d3bc22dad12f0657982667b7e88fc9a4162b0f6765184172957b05797a29a2d614c975df00b12c4aba -DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c -DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab -DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20200625212154-ddb9806d33ae.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab -DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20200625212154-ddb9806d33ae.zip 1479123 BLAKE2B 45f0af63ffb886cbd78269a103067057346ab756631f228fc27b68459bdde97c84c100f99045e1a4a8d336513c4192b377048db8e09cefa703e94ca814d6eb07 SHA512 57783ce5463ce2a6a2d76d8ed3df08a23de896ca82e7456597a0fa55fe80bec64f899085fc727f0bf369495d1bca70a10e0f7071e7e66f6a5ecba1b4f42ffe54 -DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d -DIST gopkg.in%2Falecthomas%2Fkingpin.v2%2F@v%2Fv2.2.6.mod 38 BLAKE2B e7781691d8c15b764ef6c89fcdf20e69fc28d46e8df2703b6fdc342247595c10ed25e3cc5b30cd29b81c57837f5685e4122e1b2c218a51fffbb1567c85b0835a SHA512 585188d3a75067e6b7d8a8321959fe7df80c6a19f8668a87f0d1b8687c4d2cefc039167446f6d02f7eeeb147371bc7a673348213bcb07f4d90bebc0ccf9f2015 -DIST gopkg.in%2Falecthomas%2Fkingpin.v2%2F@v%2Fv2.2.6.zip 59626 BLAKE2B 5fb595a10b7068bd2e4baea5fb28eb84f1f00960ca5ea964cd1812800ba8a34e62b3b71554dcfbdd727d5478eb5d91a00bd2bb7e89086929275e15e9261bdf2c SHA512 cdfbb32c7280c5405c4df41f00fa8b4ab2966285898a122a20f3c5f07a9e87095542be12efc09a67e4d90baa1fe51cd41f06733db7617949634409ea20e58dce -DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2 -DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.zip 39844 BLAKE2B b3dab69dbd1ebb999938c12595de7007dce9431cfeaeb5e77aba80c49918d1a4edf7fb95279e9b66686cb45deaf57a011c083e55fb66ec2c614582ba323954da SHA512 97c96a92ec86372c2f06141c30bceaa86ed62c1db34696f9542f43f3411cb0a37dea654de923a5ee054e603198179b9048e3b477da140e4092ffadc4525b9241 -DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.2.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 -DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.mod 95 BLAKE2B fbb87f0644ec9da5d4386358d23cdb15b0d23e8212e712f16f338455a3a0ad19fbfd63e92c955c359237ddfa8bb76d6d08280eead24d321668431891eca1e8ab SHA512 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d -DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.zip 101467 BLAKE2B 8bb0aec8e693a4c0da59f1931e1fdcf6f94a236faba149d5af91e87284f39c693d20be65248eecde739cb555e371804fa6c723a56c69e6d02a347ba908e968b1 SHA512 bee7757d760f5ba1b9f7523af358652a5cb65f2b0064da097f78450871b2636efcbab0298a9871bbb3ce8012bf95a155949251d4f61464dde510097b936b47a8 diff --git a/app-shells/antibody/antibody-6.1.1-r1.ebuild b/app-shells/antibody/antibody-6.1.1-r1.ebuild deleted file mode 100644 index 9c65147e7..000000000 --- a/app-shells/antibody/antibody-6.1.1-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 2020-2021,2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -# NOTE: Keep EGO_SUM in sync with go.sum (with dev-go/get-ego-vendor). -EGO_SUM=( - "github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751" - "github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod" - "github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d" - "github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod" - "github.com/davecgh/go-spew v1.1.0/go.mod" - "github.com/davecgh/go-spew v1.1.1" - "github.com/davecgh/go-spew v1.1.1/go.mod" - "github.com/getantibody/folder v1.0.0" - "github.com/getantibody/folder v1.0.0/go.mod" - "github.com/pmezard/go-difflib v1.0.0" - "github.com/pmezard/go-difflib v1.0.0/go.mod" - "github.com/stretchr/objx v0.1.0/go.mod" - "github.com/stretchr/testify v1.4.0/go.mod" - "github.com/stretchr/testify v1.6.1" - "github.com/stretchr/testify v1.6.1/go.mod" - "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" - "golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899" - "golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod" - "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" - "golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208" - "golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod" - "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" - "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" - "golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae" - "golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod" - "golang.org/x/text v0.3.0/go.mod" - "gopkg.in/alecthomas/kingpin.v2 v2.2.6" - "gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod" - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405" - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" - "gopkg.in/yaml.v2 v2.2.2/go.mod" - "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c" - "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" -) -go-module_set_globals - -DESCRIPTION="Fast Zsh plugin manager" -HOMEPAGE="https://getantibody.github.io/" -SRC_URI=" - https://github.com/getantibody/antibody/archive/v${PV}.tar.gz -> ${P}.tar.gz - ${EGO_SUM_SRC_URI}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-vcs/git" - -PATCHES=( "${FILESDIR}/${PN}-6.1.1_remove-failing-tests.patch" ) - -src_configure() { - if use test; then - GOFLAGS="${GOFLAGS/-buildmode=pie/-buildmode=exe}" # bug 893190 - fi -} - -src_compile() { - local -a mygoargs=( - -ldflags "-X main.version=${PV}" - ) - ego build "${mygoargs[@]}" || die -} - -src_install() { - dobin antibody - einstalldocs -} diff --git a/app-shells/antibody/files/6.0.1-remove-failing-tests.patch b/app-shells/antibody/files/6.0.1-remove-failing-tests.patch deleted file mode 100644 index 9886121cd..000000000 --- a/app-shells/antibody/files/6.0.1-remove-failing-tests.patch +++ /dev/null @@ -1,419 +0,0 @@ -From e01c41417a171bb63b985742e93b3f0fc501d25f Mon Sep 17 00:00:00 2001 -From: tastytea <tastytea@tastytea.de> -Date: Mon, 18 May 2020 22:04:28 +0200 -Subject: [PATCH] Remove failing tests. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Something in project/ emitted the helpful error message “build failed”, -so I took the sledgehammer approach in git_test.go and -project_test.go. It is likely I deleted a bit too much. Feel free to -replace this with a better patch. ---- - antibodylib/antibody_test.go | 105 ------------------------------- - bundle/bundle_test.go | 51 --------------- - project/git_test.go | 117 ----------------------------------- - project/project_test.go | 46 -------------- - 4 files changed, 319 deletions(-) - -diff --git a/antibodylib/antibody_test.go b/antibodylib/antibody_test.go -index 752ca07..608f3dc 100644 ---- a/antibodylib/antibody_test.go -+++ b/antibodylib/antibody_test.go -@@ -5,40 +5,11 @@ import ( - "io/ioutil" - "os" - "runtime" -- "strings" - "testing" - - "github.com/stretchr/testify/require" - ) - --func TestAntibody(t *testing.T) { -- home := home() -- bundles := []string{ -- "# comments also are allowed", -- "caarlos0/ports kind:path # comment at the end of the line", -- "caarlos0/jvm kind:path branch:gh-pages", -- "caarlos0/zsh-open-pr kind:zsh", -- "", -- " ", -- " # trick play", -- "/tmp kind:path", -- } -- sh, err := New( -- home, -- bytes.NewBufferString(strings.Join(bundles, "\n")), -- runtime.NumCPU(), -- ).Bundle() -- require.NoError(t, err) -- files, err := ioutil.ReadDir(home) -- require.NoError(t, err) -- require.Len(t, files, 3) -- require.Contains(t, sh, `export PATH="/tmp:$PATH"`) -- require.Contains(t, sh, `export PATH="`+home+`/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-ports:$PATH"`) -- require.Contains(t, sh, `export PATH="`+home+`/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-jvm:$PATH"`) -- // nolint: lll -- require.Contains(t, sh, `source `+home+`/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-zsh-open-pr/git-open-pr.plugin.zsh`) --} -- - func TestAntibodyError(t *testing.T) { - home := home() - bundles := bytes.NewBufferString("invalid-repo") -@@ -46,82 +17,6 @@ func TestAntibodyError(t *testing.T) { - require.Error(t, err) - require.Empty(t, sh) - } -- --func TestMultipleRepositories(t *testing.T) { -- home := home() -- bundles := []string{ -- "# this block is in alphabetic order", -- "caarlos0/git-add-remote kind:path", -- "caarlos0/jvm", -- "caarlos0/ports kind:path", -- "caarlos0/zsh-git-fetch-merge kind:path", -- "caarlos0/zsh-git-sync kind:path", -- "caarlos0/zsh-mkc", -- "caarlos0/zsh-open-pr kind:path", -- "mafredri/zsh-async", -- "rupa/z", -- "Tarrasch/zsh-bd", -- "wbinglee/zsh-wakatime", -- "zsh-users/zsh-completions", -- "zsh-users/zsh-autosuggestions", -- "", -- "robbyrussell/oh-my-zsh path:plugins/asdf", -- "robbyrussell/oh-my-zsh path:plugins/autoenv", -- "# these should be at last!", -- "sindresorhus/pure", -- "zsh-users/zsh-syntax-highlighting", -- "zsh-users/zsh-history-substring-search", -- } -- sh, err := New( -- home, -- bytes.NewBufferString(strings.Join(bundles, "\n")), -- runtime.NumCPU(), -- ).Bundle() -- require.NoError(t, err) -- require.Len(t, strings.Split(sh, "\n"), 31) --} -- --// BenchmarkDownload-8 1 2907868713 ns/op 480296 B/op 2996 allocs/op v1 --// BenchmarkDownload-8 1 2708120385 ns/op 475904 B/op 3052 allocs/op v2 --func BenchmarkDownload(b *testing.B) { -- var bundles = strings.Join([]string{ -- "robbyrussell/oh-my-zsh path:plugins/aws", -- "caarlos0/git-add-remote kind:path", -- "caarlos0/jvm", -- "caarlos0/ports kind:path", -- "", -- "# comment whatever", -- "caarlos0/zsh-git-fetch-merge kind:path", -- "robbyrussell/oh-my-zsh path:plugins/battery", -- "caarlos0/zsh-git-sync kind:path", -- "caarlos0/zsh-mkc", -- "caarlos0/zsh-open-pr kind:path", -- "robbyrussell/oh-my-zsh path:plugins/asdf", -- "mafredri/zsh-async", -- "rupa/z", -- "Tarrasch/zsh-bd", -- "", -- "Linuxbrew/brew path:completions/zsh kind:fpath", -- "wbinglee/zsh-wakatime", -- "zsh-users/zsh-completions", -- "zsh-users/zsh-autosuggestions", -- "robbyrussell/oh-my-zsh path:plugins/autoenv", -- "# these should be at last!", -- "sindresorhus/pure", -- "zsh-users/zsh-syntax-highlighting", -- "zsh-users/zsh-history-substring-search", -- }, "\n") -- for i := 0; i < b.N; i++ { -- home := home() -- _, err := New( -- home, -- bytes.NewBufferString(bundles), -- runtime.NumCPU(), -- ).Bundle() -- require.NoError(b, err) -- } --} -- - func TestHome(t *testing.T) { - h, err := Home() - require.NoError(t, err) -diff --git a/bundle/bundle_test.go b/bundle/bundle_test.go -index 9613197..83a9bda 100644 ---- a/bundle/bundle_test.go -+++ b/bundle/bundle_test.go -@@ -9,49 +9,6 @@ import ( - "github.com/stretchr/testify/require" - ) - --func TestSuccessfullGitBundles(t *testing.T) { -- table := []struct { -- line, result string -- }{ -- { -- "caarlos0/jvm", -- "jvm.plugin.zsh\nfpath+=( ", -- }, -- { -- "caarlos0/jvm kind:path", -- "export PATH=\"", -- }, -- { -- "caarlos0/jvm kind:path branch:gh-pages", -- "export PATH=\"", -- }, -- { -- "caarlos0/jvm kind:dummy", -- "", -- }, -- { -- "caarlos0/jvm kind:fpath", -- "fpath+=( ", -- }, -- { -- "docker/cli path:contrib/completion/zsh/_docker", -- "contrib/completion/zsh/_docker", -- }, -- } -- for _, row := range table { -- row := row -- t.Run(row.line, func(t *testing.T) { -- t.Parallel() -- home := home(t) -- bundle, err := New(home, row.line) -- require.NoError(t, err) -- result, err := bundle.Get() -- require.Contains(t, result, row.result) -- require.NoError(t, err) -- }) -- } --} -- - func TestZshInvalidGitBundle(t *testing.T) { - home := home(t) - bundle, err := New(home, "does not exist") -@@ -78,14 +35,6 @@ func TestZshInvalidLocalBundle(t *testing.T) { - require.Error(t, err) - } - --func TestZshBundleWithNoShFiles(t *testing.T) { -- home := home(t) -- bundle, err := New(home, "getantibody/antibody") -- require.NoError(t, err) -- _, err = bundle.Get() -- require.NoError(t, err) --} -- - func TestPathInvalidLocalBundle(t *testing.T) { - home := home(t) - bundle, err := New(home, "/asduhasd/asdasda kind:path") -diff --git a/project/git_test.go b/project/git_test.go -index b9983f8..c014be0 100644 ---- a/project/git_test.go -+++ b/project/git_test.go -@@ -3,125 +3,8 @@ package project - import ( - "io/ioutil" - "os" -- "path/filepath" -- "strings" -- "testing" -- -- "github.com/stretchr/testify/require" - ) - --func TestDownloadAllKinds(t *testing.T) { -- urls := []string{ -- "caarlos0/ports", -- "http://github.com/caarlos0/ports", -- "http://github.com/caarlos0/ports.git", -- "https://github.com/caarlos0/ports", -- "https://github.com/caarlos0/ports.git", -- "git://github.com/caarlos0/ports.git", -- "https://gitlab.com/caarlos0/test.git", -- // FIXME: those fail on travis: -- // "git@gitlab.com:caarlos0/test.git", -- // "ssh://git@github.com/caarlos0/ports.git", -- // "git@github.com:caarlos0/ports.git", -- } -- for _, url := range urls { -- home := home() -- require.NoError( -- t, -- NewGit(home, url).Download(), -- "Repo "+url+" failed to download", -- ) -- } --} -- --func TestDownloadSubmodules(t *testing.T) { -- var home = home() -- var proj = NewGit(home, "fribmendes/geometry") -- var module = filepath.Join(proj.Path(), "lib/zsh-async") -- require.NoError(t, proj.Download()) -- require.NoError(t, proj.Update()) -- files, err := ioutil.ReadDir(module) -- require.NoError(t, err) -- require.True(t, len(files) > 1) --} -- --func TestDownloadAnotherBranch(t *testing.T) { -- home := home() -- require.NoError(t, NewGit(home, "caarlos0/jvm branch:gh-pages").Download()) --} -- --func TestUpdateAnotherBranch(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/jvm branch:gh-pages") -- require.NoError(t, repo.Download()) -- alreadyClonedRepo := NewClonedGit(home, "https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-jvm") -- require.NoError(t, alreadyClonedRepo.Update()) --} -- --func TestUpdateExistentLocalRepo(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/ports") -- require.NoError(t, repo.Download()) -- alreadyClonedRepo := NewClonedGit(home, "https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-ports") -- require.NoError(t, alreadyClonedRepo.Update()) --} -- --func TestUpdateNonExistentLocalRepo(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/ports") -- require.Error(t, repo.Update()) --} -- --func TestDownloadNonExistentRepo(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/not-a-real-repo") -- require.Error(t, repo.Download()) --} -- --func TestDownloadMalformedRepo(t *testing.T) { -- home := home() -- repo := NewGit(home, "doesn-not-exist-really branch:also-nope") -- require.Error(t, repo.Download()) --} -- --func TestDownloadMultipleTimes(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/ports") -- require.NoError(t, repo.Download()) -- require.NoError(t, repo.Download()) -- require.NoError(t, repo.Update()) --} -- --func TestDownloadFolderNaming(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/ports") -- require.Equal( -- t, -- home+"/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-ports", -- repo.Path(), -- ) --} -- --func TestSubFolder(t *testing.T) { -- home := home() -- repo := NewGit(home, "robbyrussell/oh-my-zsh path:plugins/aws") -- require.True(t, strings.HasSuffix(repo.Path(), "plugins/aws")) --} -- --func TestPath(t *testing.T) { -- home := home() -- repo := NewGit(home, "docker/cli path:contrib/completion/zsh/_docker") -- require.True(t, strings.HasSuffix(repo.Path(), "contrib/completion/zsh/_docker")) --} -- --func TestMultipleSubFolders(t *testing.T) { -- home := home() -- require.NoError(t, NewGit(home, strings.Join([]string{ -- "robbyrussell/oh-my-zsh path:plugins/aws", -- "robbyrussell/oh-my-zsh path:plugins/battery", -- }, "\n")).Download()) --} -- - func home() string { - home, err := ioutil.TempDir(os.TempDir(), "antibody") - if err != nil { -diff --git a/project/project_test.go b/project/project_test.go -index 88c82e3..2fd8a25 100644 ---- a/project/project_test.go -+++ b/project/project_test.go -@@ -1,24 +1,12 @@ - package project - - import ( -- "os" -- "path/filepath" - "runtime" - "testing" - - "github.com/stretchr/testify/require" - ) - --func TestList(t *testing.T) { -- home := home() -- proj, err := New(home, "caarlos0/jvm branch:gh-pages") -- require.NoError(t, err) -- require.NoError(t, proj.Download()) -- list, err := List(home) -- require.NoError(t, err) -- require.Len(t, list, 1) --} -- - func TestListEmptyFolder(t *testing.T) { - home := home() - list, err := List(home) -@@ -32,40 +20,6 @@ func TestListNonExistentFolder(t *testing.T) { - require.Len(t, list, 0) - } - --func TestUpdate(t *testing.T) { -- home := home() -- repo, err := New(home, "caarlos0/ports") -- require.NoError(t, err) -- require.NoError(t, repo.Download()) -- require.NoError(t, repo.Update()) --} -- --func TestUpdateHome(t *testing.T) { -- home := home() -- for _, tt := range []string{ -- "caarlos0/jvm", -- "caarlos0/ports", -- "/tmp", -- } { -- tt := tt -- t.Run(tt, func(t *testing.T) { -- proj, err := New(home, tt) -- require.NoError(t, err) -- require.NoError(t, proj.Download()) -- require.NoError(t, Update(home, runtime.NumCPU())) -- }) -- } --} -- - func TestUpdateNonExistentHome(t *testing.T) { - require.Error(t, Update("/tmp/asdasdasdasksksksksnopeeeee", runtime.NumCPU())) - } -- --func TestUpdateHomeWithNoGitProjects(t *testing.T) { -- home := home() -- repo, err := New(home, "caarlos0/jvm") -- require.NoError(t, err) -- require.NoError(t, repo.Download()) -- require.NoError(t, os.RemoveAll(filepath.Join(repo.Path(), ".git"))) -- require.Error(t, Update(home, runtime.NumCPU())) --} --- -2.26.2 - diff --git a/app-shells/antibody/files/antibody-6.1.1_remove-failing-tests.patch b/app-shells/antibody/files/antibody-6.1.1_remove-failing-tests.patch deleted file mode 100644 index 9c7f92b64..000000000 --- a/app-shells/antibody/files/antibody-6.1.1_remove-failing-tests.patch +++ /dev/null @@ -1,422 +0,0 @@ -From 0030445c7fef2c1fcf6701d77ee1e3400c044dea Mon Sep 17 00:00:00 2001 -From: tastytea <tastytea@tastytea.de> -Date: Mon, 19 Apr 2021 09:24:31 +0200 -Subject: [PATCH] Remove failing tests. - -Remove all tests which require network access. Unused imports make the -tests fail. ---- - antibodylib/antibody_test.go | 105 +------------------------------ - bundle/bundle_test.go | 59 ------------------ - project/git_test.go | 117 ----------------------------------- - project/project_test.go | 46 -------------- - 4 files changed, 2 insertions(+), 325 deletions(-) - -diff --git a/antibodylib/antibody_test.go b/antibodylib/antibody_test.go -index 752ca07..ea2d7ee 100644 ---- a/antibodylib/antibody_test.go -+++ b/antibodylib/antibody_test.go -@@ -5,40 +5,11 @@ import ( - "io/ioutil" - "os" - "runtime" -- "strings" - "testing" - - "github.com/stretchr/testify/require" - ) - --func TestAntibody(t *testing.T) { -- home := home() -- bundles := []string{ -- "# comments also are allowed", -- "caarlos0/ports kind:path # comment at the end of the line", -- "caarlos0/jvm kind:path branch:gh-pages", -- "caarlos0/zsh-open-pr kind:zsh", -- "", -- " ", -- " # trick play", -- "/tmp kind:path", -- } -- sh, err := New( -- home, -- bytes.NewBufferString(strings.Join(bundles, "\n")), -- runtime.NumCPU(), -- ).Bundle() -- require.NoError(t, err) -- files, err := ioutil.ReadDir(home) -- require.NoError(t, err) -- require.Len(t, files, 3) -- require.Contains(t, sh, `export PATH="/tmp:$PATH"`) -- require.Contains(t, sh, `export PATH="`+home+`/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-ports:$PATH"`) -- require.Contains(t, sh, `export PATH="`+home+`/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-jvm:$PATH"`) -- // nolint: lll -- require.Contains(t, sh, `source `+home+`/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-zsh-open-pr/git-open-pr.plugin.zsh`) --} -- - func TestAntibodyError(t *testing.T) { - home := home() - bundles := bytes.NewBufferString("invalid-repo") -@@ -47,80 +18,8 @@ func TestAntibodyError(t *testing.T) { - require.Empty(t, sh) - } - --func TestMultipleRepositories(t *testing.T) { -- home := home() -- bundles := []string{ -- "# this block is in alphabetic order", -- "caarlos0/git-add-remote kind:path", -- "caarlos0/jvm", -- "caarlos0/ports kind:path", -- "caarlos0/zsh-git-fetch-merge kind:path", -- "caarlos0/zsh-git-sync kind:path", -- "caarlos0/zsh-mkc", -- "caarlos0/zsh-open-pr kind:path", -- "mafredri/zsh-async", -- "rupa/z", -- "Tarrasch/zsh-bd", -- "wbinglee/zsh-wakatime", -- "zsh-users/zsh-completions", -- "zsh-users/zsh-autosuggestions", -- "", -- "robbyrussell/oh-my-zsh path:plugins/asdf", -- "robbyrussell/oh-my-zsh path:plugins/autoenv", -- "# these should be at last!", -- "sindresorhus/pure", -- "zsh-users/zsh-syntax-highlighting", -- "zsh-users/zsh-history-substring-search", -- } -- sh, err := New( -- home, -- bytes.NewBufferString(strings.Join(bundles, "\n")), -- runtime.NumCPU(), -- ).Bundle() -- require.NoError(t, err) -- require.Len(t, strings.Split(sh, "\n"), 31) --} -- --// BenchmarkDownload-8 1 2907868713 ns/op 480296 B/op 2996 allocs/op v1 --// BenchmarkDownload-8 1 2708120385 ns/op 475904 B/op 3052 allocs/op v2 --func BenchmarkDownload(b *testing.B) { -- var bundles = strings.Join([]string{ -- "robbyrussell/oh-my-zsh path:plugins/aws", -- "caarlos0/git-add-remote kind:path", -- "caarlos0/jvm", -- "caarlos0/ports kind:path", -- "", -- "# comment whatever", -- "caarlos0/zsh-git-fetch-merge kind:path", -- "robbyrussell/oh-my-zsh path:plugins/battery", -- "caarlos0/zsh-git-sync kind:path", -- "caarlos0/zsh-mkc", -- "caarlos0/zsh-open-pr kind:path", -- "robbyrussell/oh-my-zsh path:plugins/asdf", -- "mafredri/zsh-async", -- "rupa/z", -- "Tarrasch/zsh-bd", -- "", -- "Linuxbrew/brew path:completions/zsh kind:fpath", -- "wbinglee/zsh-wakatime", -- "zsh-users/zsh-completions", -- "zsh-users/zsh-autosuggestions", -- "robbyrussell/oh-my-zsh path:plugins/autoenv", -- "# these should be at last!", -- "sindresorhus/pure", -- "zsh-users/zsh-syntax-highlighting", -- "zsh-users/zsh-history-substring-search", -- }, "\n") -- for i := 0; i < b.N; i++ { -- home := home() -- _, err := New( -- home, -- bytes.NewBufferString(bundles), -- runtime.NumCPU(), -- ).Bundle() -- require.NoError(b, err) -- } --} -+// BenchmarkDownload-8 1 2907868713 ns/op 480296 B/op 2996 allocs/op v1 -+// BenchmarkDownload-8 1 2708120385 ns/op 475904 B/op 3052 allocs/op v2 - - func TestHome(t *testing.T) { - h, err := Home() -diff --git a/bundle/bundle_test.go b/bundle/bundle_test.go -index 78c4b70..4c72d34 100644 ---- a/bundle/bundle_test.go -+++ b/bundle/bundle_test.go -@@ -9,57 +9,6 @@ import ( - "github.com/stretchr/testify/require" - ) - --func TestSuccessfullGitBundles(t *testing.T) { -- table := []struct { -- line, result string -- }{ -- { -- "caarlos0/jvm", -- "jvm.plugin.zsh\nfpath+=( ", -- }, -- { -- "caarlos0/jvm kind:path", -- "export PATH=\"", -- }, -- { -- "caarlos0/jvm kind:path branch:gh-pages", -- "export PATH=\"", -- }, -- { -- "caarlos0/jvm kind:dummy", -- "", -- }, -- { -- "caarlos0/jvm kind:fpath", -- "fpath+=( ", -- }, -- { -- "docker/cli path:contrib/completion/zsh/_docker", -- "contrib/completion/zsh/_docker", -- }, -- } -- for _, row := range table { -- row := row -- t.Run(row.line, func(t *testing.T) { -- t.Parallel() -- home := home(t) -- bundle, err := New(home, row.line) -- require.NoError(t, err) -- result, err := bundle.Get() -- require.Contains(t, result, row.result) -- require.NoError(t, err) -- }) -- } --} -- --func TestZshInvalidGitBundle(t *testing.T) { -- home := home(t) -- bundle, err := New(home, "does not exist") -- require.NoError(t, err) -- _, err = bundle.Get() -- require.Error(t, err) --} -- - func TestZshLocalBundle(t *testing.T) { - home := home(t) - // nolint: gosec -@@ -79,14 +28,6 @@ func TestZshInvalidLocalBundle(t *testing.T) { - require.Error(t, err) - } - --func TestZshBundleWithNoShFiles(t *testing.T) { -- home := home(t) -- bundle, err := New(home, "getantibody/antibody") -- require.NoError(t, err) -- _, err = bundle.Get() -- require.NoError(t, err) --} -- - func TestPathInvalidLocalBundle(t *testing.T) { - home := home(t) - bundle, err := New(home, "/asduhasd/asdasda kind:path") -diff --git a/project/git_test.go b/project/git_test.go -index f238317..c014be0 100644 ---- a/project/git_test.go -+++ b/project/git_test.go -@@ -3,125 +3,8 @@ package project - import ( - "io/ioutil" - "os" -- "path/filepath" -- "strings" -- "testing" -- -- "github.com/stretchr/testify/require" - ) - --func TestDownloadAllKinds(t *testing.T) { -- urls := []string{ -- "caarlos0/ports", -- "http://github.com/caarlos0/ports", -- "http://github.com/caarlos0/ports.git", -- "https://github.com/caarlos0/ports", -- "https://github.com/caarlos0/ports.git", -- "git://github.com/caarlos0/ports.git", -- "https://gitlab.com/caarlos0/test.git", -- // FIXME: those fail on travis: -- // "git@gitlab.com:caarlos0/test.git", -- // "ssh://git@github.com/caarlos0/ports.git", -- // "git@github.com:caarlos0/ports.git", -- } -- for _, url := range urls { -- home := home() -- require.NoError( -- t, -- NewGit(home, url).Download(), -- "Repo "+url+" failed to download", -- ) -- } --} -- --func TestDownloadSubmodules(t *testing.T) { -- var home = home() -- var proj = NewGit(home, "fribmendes/geometry branch:master") -- var module = filepath.Join(proj.Path(), "lib/zsh-async") -- require.NoError(t, proj.Download()) -- require.NoError(t, proj.Update()) -- files, err := ioutil.ReadDir(module) -- require.NoError(t, err) -- require.True(t, len(files) > 1) --} -- --func TestDownloadAnotherBranch(t *testing.T) { -- home := home() -- require.NoError(t, NewGit(home, "caarlos0/jvm branch:gh-pages").Download()) --} -- --func TestUpdateAnotherBranch(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/jvm branch:gh-pages") -- require.NoError(t, repo.Download()) -- alreadyClonedRepo := NewClonedGit(home, "https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-jvm") -- require.NoError(t, alreadyClonedRepo.Update()) --} -- --func TestUpdateExistentLocalRepo(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/ports") -- require.NoError(t, repo.Download()) -- alreadyClonedRepo := NewClonedGit(home, "https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-ports") -- require.NoError(t, alreadyClonedRepo.Update()) --} -- --func TestUpdateNonExistentLocalRepo(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/ports") -- require.Error(t, repo.Update()) --} -- --func TestDownloadNonExistentRepo(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/not-a-real-repo") -- require.Error(t, repo.Download()) --} -- --func TestDownloadMalformedRepo(t *testing.T) { -- home := home() -- repo := NewGit(home, "doesn-not-exist-really branch:also-nope") -- require.Error(t, repo.Download()) --} -- --func TestDownloadMultipleTimes(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/ports") -- require.NoError(t, repo.Download()) -- require.NoError(t, repo.Download()) -- require.NoError(t, repo.Update()) --} -- --func TestDownloadFolderNaming(t *testing.T) { -- home := home() -- repo := NewGit(home, "caarlos0/ports") -- require.Equal( -- t, -- home+"/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-ports", -- repo.Path(), -- ) --} -- --func TestSubFolder(t *testing.T) { -- home := home() -- repo := NewGit(home, "robbyrussell/oh-my-zsh path:plugins/aws") -- require.True(t, strings.HasSuffix(repo.Path(), "plugins/aws")) --} -- --func TestPath(t *testing.T) { -- home := home() -- repo := NewGit(home, "docker/cli path:contrib/completion/zsh/_docker") -- require.True(t, strings.HasSuffix(repo.Path(), "contrib/completion/zsh/_docker")) --} -- --func TestMultipleSubFolders(t *testing.T) { -- home := home() -- require.NoError(t, NewGit(home, strings.Join([]string{ -- "robbyrussell/oh-my-zsh path:plugins/aws", -- "robbyrussell/oh-my-zsh path:plugins/battery", -- }, "\n")).Download()) --} -- - func home() string { - home, err := ioutil.TempDir(os.TempDir(), "antibody") - if err != nil { -diff --git a/project/project_test.go b/project/project_test.go -index 88c82e3..2fd8a25 100644 ---- a/project/project_test.go -+++ b/project/project_test.go -@@ -1,24 +1,12 @@ - package project - - import ( -- "os" -- "path/filepath" - "runtime" - "testing" - - "github.com/stretchr/testify/require" - ) - --func TestList(t *testing.T) { -- home := home() -- proj, err := New(home, "caarlos0/jvm branch:gh-pages") -- require.NoError(t, err) -- require.NoError(t, proj.Download()) -- list, err := List(home) -- require.NoError(t, err) -- require.Len(t, list, 1) --} -- - func TestListEmptyFolder(t *testing.T) { - home := home() - list, err := List(home) -@@ -32,40 +20,6 @@ func TestListNonExistentFolder(t *testing.T) { - require.Len(t, list, 0) - } - --func TestUpdate(t *testing.T) { -- home := home() -- repo, err := New(home, "caarlos0/ports") -- require.NoError(t, err) -- require.NoError(t, repo.Download()) -- require.NoError(t, repo.Update()) --} -- --func TestUpdateHome(t *testing.T) { -- home := home() -- for _, tt := range []string{ -- "caarlos0/jvm", -- "caarlos0/ports", -- "/tmp", -- } { -- tt := tt -- t.Run(tt, func(t *testing.T) { -- proj, err := New(home, tt) -- require.NoError(t, err) -- require.NoError(t, proj.Download()) -- require.NoError(t, Update(home, runtime.NumCPU())) -- }) -- } --} -- - func TestUpdateNonExistentHome(t *testing.T) { - require.Error(t, Update("/tmp/asdasdasdasksksksksnopeeeee", runtime.NumCPU())) - } -- --func TestUpdateHomeWithNoGitProjects(t *testing.T) { -- home := home() -- repo, err := New(home, "caarlos0/jvm") -- require.NoError(t, err) -- require.NoError(t, repo.Download()) -- require.NoError(t, os.RemoveAll(filepath.Join(repo.Path(), ".git"))) -- require.Error(t, Update(home, runtime.NumCPU())) --} --- -2.26.3 - diff --git a/app-shells/antibody/metadata.xml b/app-shells/antibody/metadata.xml deleted file mode 100644 index 679e54b79..000000000 --- a/app-shells/antibody/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>gentoo@tastytea.de</email> - <name>tastytea</name> - </maintainer> - <longdescription lang="en"> - Antibody is fast because it can do things concurrently, while Antigen - does it sequentially. It also has the advantage of using a compiled - language instead of a scripting one. - </longdescription> - <upstream> - <remote-id type="github">getantibody/antibody</remote-id> - </upstream> -</pkgmetadata> |