Author Topic: "Latest news" suggestion  (Read 3568 times)

Offline Maarten

  • Single posting newcomer
  • *
  • Posts: 2
"Latest news" suggestion
« on: August 23, 2024, 09:10:41 pm »
Hi,

I'm a relative newcomer here, and do AVR programming. I've started in the Arduino IDE, went to Atom/PlatformIO, and when that IDE was killed I had to look for another IDE.

I've tried quite a few editors and came across this one. It's exactly what I was looking for: clean, straightforward and fast starting.

There was one thing that made me hesitate to try CodeBlocks, and that was that when looking at the "Latest News" section, I saw the latest post was from March 2021. I thought the project was dead, and I should not bother. Luckily I eventually did find there was still development going on, and decided to try it.

So my suggestion would be, which probably is already mentioned before. Isn't it possible to at least show the the commits being made to the project, so when you click on "Latest News" you can clearly see there is still activity here? Not sure there is an SVN api for this to integrate it in the page. If only there was a post every x-months this would probably make people think this project is still alive.

Anyway, thanks for making this awesome project!

Best regards,

Maarten

Offline blauzahn

  • Almost regular
  • **
  • Posts: 179
Re: "Latest news" suggestion
« Reply #1 on: August 24, 2024, 09:13:54 am »
When you download the sourcecode from trunk you can get a changelog. This you can get via the original svn or via git svn.
Here is the part of my Makefile that deals with clone and update both ways:

Code
.PHONY: \
  all \
  clone \
  clone_svn \
  clone_git \
  update \
  update_svn \
  update_git \
  updateChangeLog \

trunk=trunk
trunk_git=trunk.git

all:

clone: clone_svn clone_git

clone_git:
git svn clone -r1:12723 svn://svn.code.sf.net/p/codeblocks/code/trunk $(trunk_git)

clone_svn:
svn checkout svn://svn.code.sf.net/p/codeblocks/code/trunk
$(MAKE) updateChangeLog

update: update_svn # update_git

update_svn:
(cd $(trunk) && svn update)
$(MAKE) updateChangeLog

updateChangeLog:
(cd $(trunk) && ./updateChangeLog.sh && ./update_revision.sh)

update_git:
(cd $(trunk_git) && git svn fetch && git merge remotes/git-svn)


In trunk, see the plain text file ChangeLog. Alternatively you can see the same changes in the git history, e.g. via gitk.
Please be aware that the initial git clone is quite slow. That's why I used the git svn arg -r <n>. Fortunately, updating is quick.

Currently, the last Changelog entry is:
Quote
2024-08-13 13:51  wh11204

svn13542:  - wxSmith: Fix compilation with wxWidgets 3.0 after
     [r13541].

Offline everSome

  • Multiple posting newcomer
  • *
  • Posts: 39
Re: "Latest news" suggestion
« Reply #2 on: September 03, 2024, 10:55:01 pm »
The easy way to see what's changing is to go to
https://sourceforge.net/p/codeblocks/code/13543/log/?path=
to look at the repo's commit log.