EbookFoundation / free-programming-books

:books: Freely available programming books
https://ebookfoundation.github.io/free-programming-books/
Creative Commons Attribution 4.0 International
334.32k stars 61.19k forks source link

Link to Intro to COBOL not working #6528

Closed unemployedtechie closed 2 years ago

unemployedtechie commented 2 years ago

The link to Introduction to COBOL is not working, it is returning a 404 page. Could not find any new link for the same:

https://supportline.microfocus.com/documentation/books/oc41books/lrintr.htm

Harshita-Kohli commented 2 years ago

I have found a link to the free pdf of the Introduction to COBOL. The link is working. May I update the link?

Tharunkumar1411 commented 2 years ago

I have Proper COBOL link. Can You assign this issue to me? @unemployedtechie

davorpa commented 2 years ago

We are talking about this?

https://github.com/EbookFoundation/free-programming-books/blob/3b455abd3fc6271ea0a6e703ed2e3f239e15bf21/books/free-programming-books-langs.md#L564

Improves #5470

Harshita-Kohli commented 2 years ago

Yes. This link is giving "404 Page not found" error

davorpa commented 2 years ago

I have Proper COBOL link. Can You assign this issue to me?

I have found a link to the free pdf of the Introduction to COBOL. The link is working. May I update the link?

We should provide found alterative to check best option

Harshita-Kohli commented 2 years ago

Do you want me to send the alternative link?

Harshita-Kohli commented 2 years ago

This is the link that I have found. It is a link to a pdf named "Intro_to_OO_Programming_for_COBOL_Developers.pdf" https://supportline.microfocus.com/Documentation/books/VisualCOBOL/Intro_to_OO_Programming_for_COBOL_Developers.pdf

unemployedtechie commented 2 years ago

@Harshita-Kohli This is a different book I assume since this is not a general intro to COBOL but an intro to object oriented programming in COBOL. I think we should change the name of the entry altogether, otherwise it might be misdirectional.

Harshita-Kohli commented 2 years ago

@unemployedtechie Yes, I think it would be better to change the name of the entry. Maybe we can write: "Intro to OOP in COBOL"

Harshita-Kohli commented 2 years ago

May I work on this issue?

davorpa commented 2 years ago

History forensics

Completely out of sync since #3527 (https://github.com/EbookFoundation/free-programming-books/commit/a5a0839fcef7356c7812676beafb1f6219dd9431#diff-155c33d4757abe5647ec769bf94ba48739ca4fe3fc50fd2cf8511c69910f4332L1068-R1067)


This is what we are searching

image Micro Focus Object COBOLâ„¢ | OO Programming with Object COBOL

SUCCESS :tada:

https://www.microfocus.com/documentation/object-cobol/oc41books/oppubb.htm

About this Book

OO Programming with Object COBOL shows you how to write object-oriented programs using Micro Focus Object COBOL. Most of the book is generic, and the material applies equally to Windows, OS/2 and UNIX platforms. Exceptions are marked as explained in the Conventions and Side Headings section of this preface. Where an entire chapter is specific to particular environments, this is indicated in the chapter title.

Remember link in the request body with something like Resolves #6528 :pray: thanks.

Harshita-Kohli commented 2 years ago

When I am making the required changes to the books in the forked repo and then pushing the changes on the original repo, it is showing that I want to merge 16 commits into the EbookFoundation:master. But I just want to merge a single commit which is related to COBOL and not the older commits. Could you please help me with this. help. help

davorpa commented 2 years ago

When I am making the required changes to the books in the forked repo and then pushing the changes on the original repo, it is showing that I want to merge 16 commits into the EbookFoundation:master. But I just want to merge a single commit which is related to COBOL and not the older commits. Could you please help me with this. help.

You need reset/override your main forked branch with the upstream content. Only after that you'll get fresh branches. This happens because PR merges are made here using squash.

So...


TIP OF THE DAY :nerd_face: :books: :computer: How to refork an upstream without delete your origin repository.

Execute under a Terminal (bash...):

# clone repo (if not do it yet): https://www.atlassian.com/en/git/tutorials/setting-up-a-repository
git clone [YOUR_FORK_REPO_URL] free-programming-books
cd free-programming-books
# check for remotes
git remote -v
# add upstream remote (if not added yet): https://www.atlassian.com/en/git/tutorials/syncing
git remote add upstream [FPB_REPO_URL]

# override origin with upstream
git fetch --all
git checkout master
git reset --hard upstream/master
git push --force origin master

In forked repositories is very common using branches to pull the contributions and leave master/main untouched. It prevents more than one headache when merge conflicts appear :wink:. Adopt Git Feature Branch Workflow is a good starting point for beginners. :rocket:

Harshita-Kohli commented 2 years ago

Thanks for all the tips🙂. It will help me a lot!