1"use strict";(globalThis.webpackChunkflathub_docs_docusaurus=globalThis.webpackChunkflathub_docs_docusaurus||[]).push([[3248],{2491(e,t,n){n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>h,frontMatter:()=>o,metadata:()=>a,toc:()=>u});var a=n(6118),r=n(4848),i=n(8453);const o={slug:"linter-restricting-automatic-merge",title:"Linter breaking change: restricting automatic merge",authors:["barthalion"],tags:["linter"]},s=void 0,l={authorsImageUrls:[void 0]},u=[];function c(e){const t={a:"a",code:"code",p:"p",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.p,{children:"Starting next week, June 17th, the linter will no longer allow enabling\nautomatic merge for pull requests created by flatpak-external-data-checker,\nunless the app uses an extra-data source or has been added to the exceptions list."}),"\n",(0,r.jsxs)(t.p,{children:["The verified apps utilizing ",(0,r.jsx)(t.code,{children:"automerge-flathubbot-prs"})," before May 28th have\nbeen grandfathered and no explicit action is required from the maintainers. If\nyour app does not meet these criteria, you can still\n",(0,r.jsx)(t.a,{href:"https://docs.flathub.org/docs/for-app-authors/linter/#exceptions",children:"request an exception"})," by creating a pull request to the\nflatpak-builder-lint repository. Exception requests will be judged on a\ncase-by-case basis on providing valid reasons."]}),"\n",(0,r.jsxs)(t.p,{children:["The ",(0,r.jsx)(t.code,{children:"automerge-flathubbot-prs"})," feature has been introduced back in 2019 to\nreduce maintenance overhead of applications dependent on non-redistributable\ndata. If ",(0,r.jsx)(t.a,{href:"https://docs.flatpak.org/en/latest/module-sources.html#extra-data",children:"an extra-data source"})," used by the app disappears because\nof an update, the automation would ensure that it is still possible to install\nthe app, without requiring manual intervention from the maintainers."]}),"\n",(0,r.jsx)(t.p,{children:"Over time, the feature has started to be misused as a general purpose\nautomation for publishing updates without proper testing. This has led to a\nnumber of issues where apps became broken overnight, which could have been\neasily prevented if the update was tested before merging."})]})}function h(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},8453(e,t,n){n.d(t,{R:()=>o,x:()=>s});var a=n(6540);const r={},i=a.createContext(r);function o(e){const t=a.useContext(i);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),a.createElement(i.Provider,{value:t},e.children)}},6118(e){e.exports=JSON.parse('{"permalink":"/blog/linter-restricting-automatic-merge","editUrl":"https://github.com/flathub/documentation/tree/main/blog/2024-06-13/index.md","source":"@site/blog/2024-06-13/index.md","title":"Linter breaking change: restricting automatic merge","description":"Starting next week, June 17th, the linter will no longer allow enabling","date":"2024-06-13T00:00:00.000Z","tags":[{"inline":true,"label":"linter","permalink":"/blog/tags/linter"}],"readingTime":1.12,"hasTruncateMarker":true,"authors":[{"name":"Bart Piotrowski","title":"Flathub Janitor","socials":{"Website":"https://barthalion.blog","github":"https://github.com/barthalion","mastodon":"https://social.treehouse.systems/@barthalion"},"imageURL":"/avatars/barthalion.png","key":"barthalion","page":null}],"frontMatter":{"slug":"linter-restricting-automatic-merge","title":"Linter breaking change: restricting automatic merge","authors":["barthalion"],"tags":["linter"]},"unlisted":false,"prevItem":{"title":"2 Billion Downloads & Other Milestones from 2024 So Far","permalink":"/blog/2-billion-downloads-2024"},"nextItem":{"title":"Introducing App Brand Colors","permalink":"/blog/introducing-app-brand-colors"}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.