[sane-devel] Proposal to disallow direct pushes to the master branch

2019-10-11 Thread Povilas Kanapickas
Hi,

Currently there are two ways to submit code to the sane-project/backends
repository: directly pushing to master and creating a merge request on
GitLab. I'd like to propose we only allow the use of the latter option.

Direct pushes have the risk of accidentally breaking the build or tests.
Our CI setup tests builds on 5 environments, I doubt that everyone would
test all configurations that are automatically covered by the CI for
each code submission. Personally, going through merge requests was
really worth the 20 seconds that it takes to open one, as numerous
issues have been found on GitLab CI.

Additionally, merge requests on GitLab always use master branch as the
first parent. This is important, because it allows various tooling to
use the `--first-parent` flag to iterate through merges to the master
branch ignoring the commits. As a result it's possible to e.g. bisect
some issue picking only the merges on the master branch which makes the
process much more efficient, as intermediate commits on side branches
don't even build a lot of the time. As it stands now, it would only take
a single merge of the current master branch to an old enough commit to
prevent such tooling working altogether. There have already been several
occasions of such reverse merges happening, fortunately they used not
too old commits as the first parent.

What do you think about this?

Regards,
Povilas




Re: [sane-devel] Canon ImageClass MF644Cdw

2019-10-11 Thread Rolf Bensch
Hi Ken,

Am 07.10.19 um 19:16 schrieb ken:

[snip]
> Does scanning also work from the flatbed (platen) and via the manual
> feed slot (aka Stack Bypass)? 

I've senn this working with another ImageClass scanner. Maybe somebody
else can confirm this?

> According to 
> https://www.usa.canon.com/internet/portal/us/home/support/details/printers/color-laser/color-imageclass-mf644cdw/?tab=richtexteditortab_5417439e-0c5b-4a4c-8b4f-54ba103c6eba,
>  the scan resolutions for this unit are 300 x 600 and 600 x 600 dpi.  It 
> would, of course, be really nice to achieve higher resolutions.  Are the 
> Canon-stated resolutions perhaps limited by their own Windows and Mac 
> software?

The scan resolutions are restricted by hardware. If you need another
scan resolution you must use an external image converter program. But
you won't win anything if you increase the scan resolution. No program
can create contents which isn't available on the 600dpi scan.

[snip]

> What document formats are available for scanner output (on Linux of course)?

At the frontend you can set the desired scan area. E.g. in xsane you can
set the scan borders in a preview window.

[snip]

Hope this helps.

Cheers,
Rolf