Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release mc-4.8.19 #3693

Closed
mc-butler opened this issue Sep 25, 2016 · 85 comments
Closed

Prepare for release mc-4.8.19 #3693

mc-butler opened this issue Sep 25, 2016 · 85 comments
Assignees
Labels
area: adm Administrative tasks prio: medium Has the potential to affect progress
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3693
Reporter zaytsev (@zyv)
Mentions egmont (@egmontkob)

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:44 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:44 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:44 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:44 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:44 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:45 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:45 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:45 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:45 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:45 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:46 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:46 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:46 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 26, 2016 at 7:46 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 3, 2016 at 7:05 UTC (comment 1)

Branch: 3693_cleanup.
Initial [c0c14690d8bd81ca980af265230224ead9891b17]

mc-3641-cleanup-Wformat-signedness-common_c.patch​: applied.
mc-3641-cleanup-Wformat-signedness-editdraw_c.patch​​: applied.
mc-3641-cleanup-Wformat-signedness-file_c.patch​​: applied.
mc-3641-cleanup-Wformat-signedness-find_c.patch​: applied.
mc-3641-cleanup-Wformat-signedness-ftpfs_c.patch: applied.
mc-3641-cleanup-Wformat-signedness-hex_c.patch: applied with extra small change.
mc-3641-cleanup-Wformat-signedness-info_c.patch: applied.
mc-3641-cleanup-Wformat-signedness-midnight_c.patch: applied.
mc-3641-cleanup-Wformat-signedness-path_c.patch: another way was used.
mc-3641-cleanup-Wformat-signedness-serialize_c.patch: applied.
mc-3641-cleanup-Wunsafe-loop-optimizations.patch: applied.
mc-3641-cleanup-no-attribute-noreturn-utilunix.c.patch: applied.
mc-3641-cleanup-no-attribute-noreturn-utilvfs.c.patch: applied.
mc-3641-cleanup-unreachable-code-warning-utilunix_c.patch: applied.

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Oct 3, 2016 at 15:07 UTC (comment 2)

  • Cc set to egmont

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Oct 23, 2016 at 6:09 UTC

@mc-butler
Copy link
Author

Changed by mooffie (@mooffie) on Nov 1, 2016 at 13:08 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 2, 2016 at 11:37 UTC (comment 4)

3693-Hex-patterns-fix-manual-page.patch​: applied.

@mc-butler
Copy link
Author

Changed by mooffie (@mooffie) on Nov 2, 2016 at 23:00 UTC (comment 5)

FWIW: I've read all the commits in this branch (except "Clarify startup" and "fix location of right panel", for lack of time) and they seem alright.

(As for ditching negative numbers in hex patterns (hex.c): that's a blessing (at least as long as nobody volunteers to implement reading words/dwords/etc). Besides, reading them with "%x" meant that if you typed "-10" you got -16.)

@mc-butler
Copy link
Author

Changed by mooffie (@mooffie) on Nov 5, 2016 at 21:50 UTC (comment 6)

@andrew:

re: "Clarify usage of assert":

There are two places that use g_assert() (and 3 places that use g_assert_*()).

The purpose of AC_HEADER_ASSERT is to make --disable-assert define the NDEBUG constant, which disables assert(). But to disable g_assert() one has to define the G_DISABLE_ASSERT constant.

So, it seems to me, we should choose either assert() or g_assert(), not both.

It's easier to just rename the two g_assert() we have to assert().

(One may argue that there are a few g_assert_*() functions we may covet (like g_assert_cmpint), and that for the sake of stylistic uniformity we should therefore prefer g_assert() to assert(). But these g_assert_*() bunch can't be disabled, so we may treat them as a category of their own.)

Not that I care too much about any of this. It's just that I'm about to propose a patch in which I was planning to use g_assert() / assert() and I don't want to get some flak ;-)

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 6, 2016 at 6:39 UTC (comment 6.7)

Replying to mooffie:

So, it seems to me, we should choose either assert() or g_assert(), not both.

Indeed.

I prefer g_assert() and I've added the commit.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Nov 6, 2016 at 9:22 UTC (comment 8)

@andrew_b: just a nitpick, the plural of assert is not "Asserts:", but "Assertions:".

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Nov 6, 2016 at 9:24 UTC (comment 9)

Here too: "Define to disable asserts" -> "Define to disable assertions".

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 6, 2016 at 15:54 UTC (comment 10)

Rebased to current master: [e036c1fb12757dc9d258862736054c33313a51d5].

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 6, 2016 at 16:30 UTC (comment 11)

  • Branch state changed from no branch to on review

@mc-butler
Copy link
Author

Changed by mooffie (@mooffie) on Nov 12, 2016 at 21:14 UTC

This documentation is needed in order to understand the bug(s) in #3720.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 13, 2016 at 9:24 UTC (comment 12)

3693-mc_search_run-document-the-return-value.patch​: applied.

Rebased to current master: [645e88d209a520e6c83eeced710b9376f878c8f8].

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 21, 2016 at 10:25 UTC (comment 13)

  • Branch state changed from on review to approved
  • Votes set to andrew_b

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 21, 2016 at 10:26 UTC (comment 14)

  • Votes changed from andrew_b to committed-master
  • Branch state changed from approved to merged

Merged to master: [24a1600].

git log --pretty=oneline da538f0..24a1600

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jan 22, 2017 at 16:10 UTC (comment 29)

  • Votes set to andrew_b
  • Branch state changed from on review to approved

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jan 22, 2017 at 16:14 UTC (comment 30)

  • Votes changed from andrew_b to committed-master
  • Branch state changed from approved to merged

Merged to master: [9845fa6].

git log --pretty=oneline 43d7fce..9845fa6

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 26, 2017 at 13:23 UTC (comment 32)

Andrew, are you fine with committing the patch above?

@mc-butler
Copy link
Author

Changed by mooffie (@mooffie) on Feb 26, 2017 at 14:20 UTC (comment 32.33)

Replying to zaytsev:

Andrew, are you fine with committing the patch above?


My patch? No need to. It was eventually committed in #3760 (I posted it here at a time it seemed my solution for #3760 would be rejected). I've just deleted my comment+patch here.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 26, 2017 at 14:35 UTC (comment 34)

Ah, ok thanks, sorry, I've got completely confused in the end.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 2, 2017 at 19:55 UTC (comment 35)

It seems that all is calm, so I'm planning to pull in latest translations and make the release this weekend, probably on Sunday, unless there are objections to this plan.

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Mar 3, 2017 at 10:47 UTC (comment 36)

Sounds great!

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 9:22 UTC (comment 37)

  • Status changed from new to accepted
  • Votes committed-master deleted
  • Branch state changed from merged to no branch
  • Owner set to zaytsev

download PO-translations from Transifex.net

done

store translations in git repo

done

download the hint translations from Transifex.net

done; nothing new

store translations in git repo

skip

create new NEWS wiki page for next version with empty template

done; NEWS-4.8.20

add content of current NEWS wiki page to the doc/NEWS file

done

create new tag in git by command

done

new version in Trac

done

new milestone in Trac

done

create tar.(bz2|xz) package files

done

make checksums for archives

done

upload source packages and checksums to the special upload area

done

developers should download tarballs, verify checksums, compile and install locally; if everything is ok, then developers vote for the ticket

http://midnight-commander.org/nopaste/tarball/

please!

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Mar 4, 2017 at 9:40 UTC (comment 38)

I hardly ever remember to run "make check", but when I do:

FAIL: utilunix__my_system_fork_child_shell
FAIL: utilunix__my_system_fork_child

The corresponding log files contain this:

Running suite(s): /lib/utilunix


fork () = -1
FAIL utilunix__my_system_fork_child (exit status: 1)

The tests succeed for me with the 4.8.18 tarball.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 10:16 UTC (comment 39)

Unfortunately, you are right, good catch! I have reproduced the problem on my Fedora VM, but I have no idea what that is. These tests are failing permanently on Travis, which I why I assumed it has something to do with Travis environment proper. I've started a bisection run between 4.8.19 and 4.8.18 to narrow down the culprit, but it's progressing very slowly.

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Mar 4, 2017 at 10:18 UTC (comment 40)

I'm also running git bisect, it's almost finished :) You can stop yours.

Just wondering, is "make check" not executed in the continuous build, and as part of the release process? If so, at least the release process documentation should be extended with this entry.

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Mar 4, 2017 at 10:21 UTC (comment 41)

[b91ab44] is the first bad commit

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 10:40 UTC (comment 42)

I'm also running git bisect, it's almost finished :) You can stop yours.

I've got ~7 commits to go, so I guess I'll leave it running anyways just to see if I can match your results ;-)

Just wondering, is "make check" not executed in the continuous build

It definitively is. The problem is, some tests fail on Travis for mysterious reasons and Andrew couldn't reproduce it, and others are failing for reasons that I understood, but was not able to find time to fix so far. Therefore, I had to make Travis builds only fail when the build itself fails, not upon test failures, which obviously make real problems easy to overlook... :-( but it's better than not running them at all, at least I sometimes inspect the logs visually.

as part of the release process? If so, at least the release process documentation should be extended with this entry.

Actually, implicitly it is, I just skipped it because it all takes so long on my underpowered laptop :-/ but you are right, this is not good. I have added it to the guidelines.

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Mar 4, 2017 at 10:43 UTC (comment 42.43)

Replying to zaytsev:

I've got ~7 commits to go, so I guess I'll leave it running anyways just to see if I can match your results ;-)

Mandatory link: #2252 :P

Actually, implicitly it is, I just skipped it because it all takes so long on my underpowered laptop :-/ but you are right, this is not good. I have added it to the guidelines.

Thanks!

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 10:47 UTC (comment 44)

[b91ab44] is the first bad commit

Confirm [b91ab44] ! Good thing the commit is so small, that's why we want them to be like this --- upon problems bisect points you directly to where the trouble is. But I'm confused as to why marking noreturn function as such makes the test fail. Need to have a closer look later :-/

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 10:49 UTC (comment 45)

Mandatory link: #2252 :P

Well, the way I do bisects is as follows, and this is already a shortcut, so in this particular case #2252 is irrelevant

[zaytsev@localhost mc]$ git bisect run sh -c '(./autogen.sh && rm -rf build && mkdir -p build && cd build && ../configure && make check)'

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 10:51 UTC (comment 46)

Ha, maybe I should have read the comment why this function was introduced in the first place:

 * The _exit() function has gcc's attribute 'noreturn', and this is reason why we can't
 * mock the call.

So apparently the warning should have been suppressed instead!

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Mar 4, 2017 at 10:56 UTC (comment 45.47)

Replying to zaytsev:

[zaytsev@localhost mc]$ git bisect run sh -c '(./autogen.sh && rm -rf build && mkdir -p build && cd build && ../configure && make check)'

I didn't know about this possibility, I'm always doing it "manually".

But... apparently this construct cannot differentiate between failed tests (where you'd type "git bisect bad" and failed builds ("git bisect skip").

Anyway, it's always good to learn new practices :)

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 11:20 UTC (comment 48)

I didn't know about this possibility, I'm always doing it "manually".

w00t!!!11 you are a man of great patience... I always start bisects in the background if results are easily verifiable by script and do other stuff while they are running.

But... apparently this construct cannot differentiate between failed tests (where you'd type "git bisect bad" and failed builds ("git bisect skip").

This is just because I know that there will be no failed builds in master, but otherwise I would add make || exit 125 to tell git to skip the commit if the build fails.

Okay, as to the commit, I propose a revert + a follow up commit to clarify that the comment function should not be decorated.

Then I will make a new tag and rebuild the tarballs. I haven't pushed the tag out yet.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 17:44 UTC (comment 49)

Re-built and re-uploaded the tarballs.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 17:58 UTC (comment 50)

And again, today is definitively not my day :-(

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Mar 4, 2017 at 18:39 UTC (comment 51)

What was wrong with the comment on the same line?

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 4, 2017 at 20:39 UTC (comment 51.52)

Replying to egmont:

What was wrong with the comment on the same line?

It confused GNU Indent and as it tried to reformat the thing, it was breaking the formatting completely, but somehow I didn't notice it until it was too late :-/ Oh well, the bottom line, it likes it when it's on a separate line and it seems that all is good now.

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on Mar 4, 2017 at 22:43 UTC (comment 53)

  • Votes set to egmont

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Mar 5, 2017 at 5:17 UTC (comment 54)

  • Branch state changed from no branch to approved
  • Votes changed from egmont to egmont andrew_b

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Mar 5, 2017 at 15:24 UTC (comment 55)

  • Resolution set to fixed
  • Status changed from accepted to testing
  • Branch state changed from approved to merged

upload source packages and checksums

done

run command: ...

done

update Wiki start page with latest release number

done

write an announcement: list user visible changes (bugs and features)

done

close current milestone

in a moment

create new ticket (type=task, component=adm) for the next release

done; #3780

close ticket for release

done

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jul 15, 2017 at 16:12 UTC (comment 56)

  • Status changed from testing to closed
  • Milestone changed from 4.8.20 to 4.8.19

Hmmmm... apparently forgot to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: adm Administrative tasks prio: medium Has the potential to affect progress
Development

No branches or pull requests

2 participants