Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
idea for portage, add pkgs changelog.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Tue Oct 29, 2013 12:20 pm    Post subject: idea for portage, add pkgs changelog. Reply with quote

hi,

Often one wants to see what has been chaged into a new version. Now there's no easy way to do so with portage alone.

In order to find out about new version info is to go package's site or git, check /usr/share/doc/ or ebuild's changelog file which is always incomplete and only says 'bump version x' or 'fixed bug x'.

I want a complete changelog info withing portage, is this possible?

thanks.
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Tue Oct 29, 2013 12:42 pm    Post subject: Reply with quote

Quote:
--changelog (-l)
Use this in conjunction with the --pretend option. This will show the ChangeLog entries for all the packages that will be upgraded.


You can add this parameter to EMERGE_DEFAULT_OPTS in /etc/portage/make.conf to receive them; however, this often only reflects what has changed to the ebuild and not to the particular package.

Another more appropriate option might be to look in the folders of the package in /usr/share (usually in a folder named doc) for NEWS or ChangeLog files which usually document upstream changes.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9520
Location: beyond the rim

PostPosted: Tue Oct 29, 2013 1:28 pm    Post subject: Reply with quote

Packaging changes are available with emerge as Tom said, upstream changes are not. And hopefully they never will, as either ebuild maintainers would have to maintain them manually or you'd get a huge mess cased by extremely varying quality, format and systems of upstream changelogs.
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Oct 30, 2013 2:26 am    Post subject: Reply with quote

Well, they are available; the format being different makes it annoying to provide them in a consistently readable manner though. I think reading the news about it and or the homepage might be more handy...
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9520
Location: beyond the rim

PostPosted: Wed Oct 30, 2013 11:31 am    Post subject: Reply with quote

TomWij wrote:
Well, they are available; the format being different makes it annoying to provide them in a consistently readable manner though. I think reading the news about it and or the homepage might be more handy...

Yep, I was referring to the "available with emerge" part. Mind it's not just the different formats being tricky, but also the huge differences in quality (from completely-nothing over auto-generated commit-logs with messages being meaningless for end-users to actual release notes).
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Thu Oct 31, 2013 2:25 pm    Post subject: Reply with quote

I don't understand what could be so difficult.

Changelogs are typically only a few lines point by point, virtually all projects provide changelogs.

This is my idea.

emerge --changelog blender

Code:
Blender changelog
2.28
General

    Included new default .B.blend file in Blender, with Material, Texture, World and 'draw faces' and 'draw edges' options set.

    When ButtonsWindow shows Material options (F5), selecting a Lamp automatically switches to Lamp shading settings (F4). And vice versa.

    Tooltips for window headers have been upgraded

    Typing a '\' in swedish keyboards works now.

    Fixed slow file reading of files with vertex deform groups.

    BUG FIX: When the preset directory menu in FileSelect was empty, it causing a nasty drawing error. (Typical when you fire up Blender and didn't save yet).

    BUG FIX: saving VRML 1.0 files had incorrect UV coordinates.

    Installation for MS Windows now works properly for all versions.

    Tooltips (buttons) now wait 0.3 seconds before popping up.

    Added mouse wheel support in Text Editor.

New features - Win32 and OSX

    Support for Quicktime has been added. Quicktime can be used to import (gif, tiff, psd) images and movies as textures, and allows you to render animations to the Quicktime movie format. (.mov)

    Please note! The selected Quicktime codec does *not* get saved in the blendfile. Each time you startup Blender you have to (re)select the codec from the codec dialog. Background rendering is possible, it displays a codec dialog first when you start a render process. And on OSX Blender freezes when you press the "Options" button in the codec dialog !!

    The rendermenu now shows which codec is selected for rendering.

Audio (new!)

    Blender now allows playback of audio, in 3D window for syncing, as well in the Sequence editor.

    Editing with audio strips in the Sequence editor

    Animation is synced to the audio (framedrop)

    Audio is also played in all other windows (including 3D windows)

    Check the full features of this system in this article: http://intrr.org/blender/audiosequencer.html

    Known problem: the Ipos for audio fading only playback in Sequencer

    Output to movies with audio is not supported yet; a "Mixdown" feature for writing the mix into a file is provided instead

Python (new!)

    The whole implementation was redone in pure C, as a mix of new code and updated parts of old bpython files;

    Some bugs were fixed, like material updating in NMesh;

    Already existing modules now have more data exposed: more variables and more method functions;

    The file selector is back, now in the Window module;

    There are new modules: Armature, Effect, Metaball and World;

    Active development, a mailing list where people interested in Blender Python scripting are invited to participate: http://www.blender.org/mailman/listinfo/bf-python

    API reference documentation available in beta state.

    Expect in the period after 2.28 a lot of interesting import/export modules. - For 2.29 is scheduled to have pulldown menus to activate scripts.

3DWindow editing

    ALT+RIGHTMOUSE in Mesh edit mode selects both vertices of an edge (this is not real edge-selection, but it's close!).

    Added 'draw edges' mode in F9 menu, it displays vertex selection in edges.

    Changed ugly 'draw faces' option into a nice transparent.

    Settings like 'draw faces' and 'draw edges' are now saved in a file.

    "insert Mesh key" (I) gives option to choose between Relative or Absolute (normal) keys.

    Reversed change in SHIFT+O menu behavior.

    in edit mode; press O to toggle proportional editing

    in edit mode; press SHIFT+O to toggle sharp/smooth proportional editing

    outside of edit mode; the SHIFT+O toggles subsurf on/off

    BUG FIX: SHIFT+O caused crash when no Object was active

    New "Group selection" menu (SHIFT-G), which offers the following options:

        Children - Selects all direct children of the active object

        Immediate Children - Select all children, children's children etc. of the active object

        Activate Parent - Makes the parent of the current object active

        Objects on shared layers - Selects all objects that share at least one layer with the active object

    Added 'Textured Solid' to the Draw mode popup (DKEY).

    "Turn table" view rotation now allows (with vertical movement) a twisted rotation as well. This to fix bug #364, causing a deviation error. Feedback on this feature might result in making this another user option though.

    Selecting objects has a different frontbuffer drawing handling now. Instead of drawing everything again, in all windows, it restricts to the active and previous active object. When there are more objects to be redrawn, it does a normal swapbuffers. Result is it all redraws & selects a lot faster in complex scenes.

    BUG FIX: Typing special characters in 3d Text Object didn't work.

    BUG FIX #149. Rendering the current view (view3d header, render) didn't render solid drawmode.

    Spherical mapping in FaceSelect mode works again (U).

Action Window

    Fixed 'HOME' button, it didn't work at all

    You now can zoom out much further

    BUG FIX: opening a new Action Window, or scaling it, displayed with wrong window matrix.

    Relative Vertex Keys (RVKs) now show up here as well, with options:

    RVK sliders. Pressing the little triangle next to the word 'sliders' in the channel names opens them up.

    NKEY in the area where the key block names are allows the user to change the name of the keyblock, and the max and min values of the RVK sliders.

    ability to visualize the keyframes for the IpoCurves when the object is selected.

    right mouse can be used to select the keys

    border select in the main area can be used to border select keys.

    A selects/deselects all of the keys

    G and S can be used to grab or scale the key selections.

    X deletes the selected keys.

    D duplicated the selected keys.

    V, Hand SHIFT-H change the bezier handles for the selected keys.

NLA Window

    BUG FIX, #178, deleting action strips caused memory to be garbled, which caused a non-readable .blend file.

    BUG FIX, #152, data-browse didn't work for a SHIFT+A "add action"

Rendering

    Lamps have options to not give 'Diffuse' or 'Specular' light (F4 menu)

    New shaders (from Tuhopuu) integrated in Blender:

    MaterialButtons: layout changed a bit, the 'shader' options now are located together.

    Shader options are separated in 'diffuse' and 'specular'. You can combine them freely.

    Diffuse Lambert: is the old shader

    Diffuse Oren Nayar: new shader, gives sandy/silky/skinny material well

    Diffuse Toon: for cartoon render

    Specular Phong: new spec, traditional 70ies spec

    Specular CookTorr: a reduced version of cook torrance shading, does off specular peak well (is the old spec in Blender)

    Specular Blinn: new spec, same features as CookTorr, but with extra 'refraction' setting

    Specular Toon: new spec for cartoon render

    Default Blender starts with settings that render compatible, also for old files.

    Works correctly in shaded view and preview-render

    BUG FIX: In render window, pressing Z now allows zooming again.

    BUG FIX: 2.27 didn't render in background mode (blender -b).

    Blender in background render mode now reacts to CTRL+C again. You'll have to do it twice... first CTRL+C will send an internal break (exit render loops)

    New feature: rendering large images now displays correctly zoomed down in a render window. Not zooming down caused unpredictable slowdowns at various systems.

    F11 now nicely pops/pushes a render window again.

    DispView mode (render in 3d window) now doesn't disappear anymore after rendering

    While rendering, pressing a single ESC immediately halts rendering. It now works as in versions 2.23 and older, without causing slow rendering.

    BUG FIX: Memory leak which caused Blender to hog up more and more memory when rendering long animations. (An oldie!).

Quicktime support

    Updated Quicktime code so settings can be stored in the blendfile, works compatible for OSX and Windows. This enables Blender to;

    have scenes with different codec settings. (same as avicodec)

    render directly without dialog.

    batch/background render to Quicktime movies.

Radiosity

    BUG FIX #370; when over 16 materials are used for 'collect meshes', it used an illegal index number, causing errors in rendering.

OpenGL related: (mostly for OSX and Nvidia cards)

    Material preview (F4, F5 ) now nicely shows scanline progress of rendering

    Using the GUI in general is much faster now, by properly caching 'glFlush' and swapbuffer calls.

    Geforce in 'full scene antialias' mode doesn't garble the Blender interface anymore (Windows).

    Iconified windows do not get window focus anymore. (X11)

OSX related

    Vertex painting and Face selection modes now correctly work.

    BUG FIX: Selecting vertices in ImageWindow (UV coords) didn't display.

    A hand cursor now indicates you can move a window edge.

    New shiny Blender icon.

    Saving a screenshot for Blender works with ALT+CTRL+F3 key. (Normal key is CTRL+F3, but OSX uses it).

    Cursor now moves with arrow keys again, while grabbing/rotating/scaling

    BUG FIX: After rendering, and pressing ESC or F11, the main window was inactive for input.

Source code

    interface.c has an extensive API doc now, with full description of the GUI system in Blender. Can be found in bf-blender/blender/docs/

    Soundsystem library moved to 'intern' (out of the game engine)

    New dependency to SDL library for compiling. Both system SDL (with sdl-config) and an SDL library in /lib/ work.

    Compiling with gcc under Windows works now.

    And heaps and heaps of Makefile/projectfile/automake improvements.


Copied and pasted straight up from blender HTML page, first result of internet search.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9520
Location: beyond the rim

PostPosted: Thu Oct 31, 2013 3:05 pm    Post subject: Reply with quote

A single example doesn't mean it's viable to automate, and "google + copy + paste" isn't exactly the best example for how to implement something in software. If you can come up with an algorithm that takes a package name and returns a readable changelog, that actually works for the majority of packages, then we can talk.
Back to top
View user's profile Send private message
ArneBab
Guru
Guru


Joined: 24 Jan 2006
Posts: 429
Location: Graben-Neudorf, Germany

PostPosted: Thu Oct 31, 2013 3:06 pm    Post subject: Reply with quote

TomWij wrote:
Well, they are available; the format being different makes it annoying to provide them in a consistently readable manner though. I think reading the news about it and or the homepage might be more handy...


If all programs adhered to the GNU packaging standards, this would actually be easy (provide the NEWS file to the user): http://www.gnu.org/prep/standards/standards.html#NEWS-File

What I could imagine as option would be to check whether the system uses GNU autotools with GNU scheme (not foreign). In that case emerge could provide the NEWS info.

It could actually suffice to just check for a NEWS-File in the tarball.
_________________
Being unpolitical means being political without realizing it. - Arne Babenhauserheide ( http://draketo.de )

pkgcore: So fast that it feels unreal - by doing only what is needed.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9520
Location: beyond the rim

PostPosted: Mon Nov 04, 2013 8:46 am    Post subject: Reply with quote

ArneBab wrote:
What I could imagine as option would be to check whether the system uses GNU autotools with GNU scheme (not foreign). In that case emerge could provide the NEWS info.

It could actually suffice to just check for a NEWS-File in the tarball.

A maintained NEWS file is more an exception than the rule in my experience even for autotools based packages (which are already a minority of the whole tree). And not sure, but I think automake used to complain about a missing NEWS file making people create dummy files, so existance check might turn up a lot of false positives.
And of course it would only work when the package was already downloaded and unpacked (and probably installed).
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Mon Nov 04, 2013 9:19 am    Post subject: Reply with quote

We could also not try to get this consistently output by emerge and instead write a tool like elogv (perhaps name it "enewsv"?) that lists the last merges and when you select an entry it displays the contents of the relevant NEWS / ChangeLog file.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Mon Nov 04, 2013 11:52 am    Post subject: Reply with quote

Genone wrote:
I think automake used to complain about a missing NEWS file making people create dummy files

The --foreign option was introduced to avoid stupidies like that. This option is recommended (and usually also used) for every project which is not natively GNU (like those on savannah).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum